RE: Patterns and Decimal

On Fri, 2003-02-28 at 08:46, daniella d wrote:
> Thanks. I rewrote the expessions as you suggested and it now works
> fine. The regular expession  (0(\.[0-9]{0,3})|[1-9][0-9]*(\.[0-9]+)?)
> checks all the cases. 

Probably a minor detail, but that pattern allows "0." but forbids
"10.".  Is that important?

Paul
-- 
Paul Warren, Client Services           DecisionSoft Limited
+44-1865-203192                        http://www.decisionsoft.com

Received on Monday, 3 March 2003 10:47:05 UTC