W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2003

RE: Patterns and Decimal

From: Paul Warren <pdw@decisionsoft.com>
Date: 03 Mar 2003 15:46:52 +0000
To: daniella d <daneladg@yahoo.co.uk>
Cc: xmlschema-dev@w3.org
Message-Id: <1046706412.4267.5853.camel@tobol.dsl.local>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT