[cellml-discussion] Proposal: Standardised CellMLreal numberformat
David Nickerson
david.nickerson at nus.edu.sg
Thu Sep 20 18:10:46 NZST 2007
>>>> 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?
More information about the cellml-discussion
mailing list