> >>>> So something like (assuming my use of the syntax is correct):
> >>>>
> >>>> (\+|\-|)[0-9]+(\.[0-9]+|)((E|e)(\+|\-|)[0-9]+)
> >>>>
> >>>> Note that I have also 'simplified' the exponent part.
> >>>>
> >>> I don't think the exponent should be mandatory, however, as this would
> >>> break the majority of models in use.
> >> agreed.
> >
> > My bad, since I obviously agree with that. So, we should have:
> >
> > (\+|\-|)[0-9]+(\.[0-9]+|)((E|e)(\+|\-|)[0-9]+|)
> >
> > And if I have still got the syntax wrong, then please fix it, so we are
done
> > and over with it.
> 
> while its possibly worth having for illustrative purposes, I'm pretty
> sure we don't want the actual normative definition of the rule to be
> based on a regular expression....do we?

No, probably not. If anything, I just wanted to make sure that we were
talking about the same definition and thought I would use Andrew's regular
expression to express what my understanding of the definition was. We no
doubt want something that can be understood by anyone.

        Alan.

_______________________________________________
cellml-discussion mailing list
[email protected]
http://www.cellml.org/mailman/listinfo/cellml-discussion

Reply via email to