- From: Priscilla Walmsley <priscilla@walmsley.com>
- Date: Tue, 25 Sep 2001 17:28:06 -0400
- To: "'Michael Petres'" <michaelp@innovobjx.com>, <xmlschema-dev@w3.org>
Hi, It looks like you are trying to escape a forward slash. The forward slash does not need to be escaped. Also, note that you can also consolidate all those ranges into one character class, i.e. [a-zA-Z0-9\+/\n=]* Hope that helps, Priscilla ----------------------------------------------------------- Priscilla Walmsley priscilla@walmsley.com Architect, Vitria Technology http://www.vitria.com Author, Definitive XML Schema (Prentice Hall, Dec. 2001) ----------------------------------------------------------- > -----Original Message----- > From: xmlschema-dev-request@w3.org > [mailto:xmlschema-dev-request@w3.org]On Behalf Of Michael Petres > Sent: Tuesday, September 25, 2001 3:22 PM > To: xmlschema-dev@w3.org > Subject: Migrating regular expression from > "http://www.w3.org/2000/10/XMLSchema" version > > > Hi, > > I've recently attempted to convert a schema (used > "http://www.w3.org/2000/10/XMLSchema") to the latest version > supported by > XMLSpy ("http://www.w3.org/2001/XMLSchema"). > > I am having problems with some regular expressions that used > to work?!? > For instance the following expression: > value="(([a-z]|[A-Z]|[0-9]|[\+\/\n=])+)*" fails with the > message "Invalid > Regular Expression: &# expected at position 23" > > Could someone help me out with the "new" form that will work? > > Michael Petres > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > InnovObjX Corporation > <mailto:michaelp@innovobjx.com> > <http://www.innovobjx.com> > Tel: 905-729-2235 ext.61, Fax:905-729-0754 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > >
Received on Tuesday, 25 September 2001 17:25:17 UTC