W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2002

Regular Expressions

From: Nell Golding <nell_golding@hotmail.com>
Date: Tue, 13 Aug 2002 08:43:51 -0400 (EDT)
To: xmlschema-dev@w3.org
Message-ID: <F85okDoFEA3Q81J2AmI0002bc4b@hotmail.com>




Are this Regular Expressions equal?
Is it possible just to use SPACEs in the pattern definition?


<xs:simpleType>
     <xs:restriction base="xs:string">
          <xs:pattern value="\d{6} \d{6} \d{6}"/>
     </xs:restriction>
</xs:simpleType>

<xs:simpleType>
     <xs:restriction base="xs:string">
          <xs:pattern value="\d{6}&#x0020;\d{6}&#x0020;\d{6}"/>
     </xs:restriction>
</xs:simpleType>

Sincerely,
Nell G.



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx
Received on Tuesday, 13 August 2002 12:03:29 GMT

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