CellML Discussion List

Text archives Help


[cellml-discussion] Proposal: Standardised CellMLreal numberformat


Chronological Thread 
  • From: alan.garny at dpag.ox.ac.uk (Alan Garny)
  • Subject: [cellml-discussion] Proposal: Standardised CellMLreal numberformat
  • Date: Thu, 20 Sep 2007 09:31:58 +0100

> >>>> 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.





Archive powered by MHonArc 2.6.18.

Top of page