- From: david.nickerson at nus.edu.sg (David Nickerson)
- Subject: [cellml-discussion] Proposal: Standardised CellMLreal numberformat
- Date: Thu, 20 Sep 2007 14:10:46 +0800
>
>>> 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?
Archive powered by MHonArc 2.6.18.