Re: [pure-lang-users] gedit pure.lang
Status: Beta
Brought to you by:
agraef
From: Eddie R. <er...@bm...> - 2008-08-30 03:56:47
|
On Fri, 2008-08-29 at 19:31 -0400, John Cowan wrote: > Albert Graef scripsit: > > > The following regex should properly describe Pure numbers, except for > > the case of a floating point number starting with a decimal point. > > Supporting those is silly. a*.5? No, no. a*0.5 is far more readable. > Just change the definition of a float. I agree absolutely! I had a Chemistry Professor that used to get red hot if students wrote numbers with a leading decimal point. Unfortunately some of the elementary statistics books I've had to use write numbers that way. It looks like they would know better? It makes it hard to get across to students not to write numbers when some of the books write them that way. Try writing on a pucked chalk board without a leading 0 ;-) e.r. |