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

Re: regular expressions in xml schema

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Mon, 14 Mar 2005 08:42:08 +0000
To: Bryan Rasmussen <brs@itst.dk>
Cc: xmlschema-dev@w3.org
Message-ID: <f5bhdjeaaan.fsf@erasmus.inf.ed.ac.uk>

I can't immediately see why your regexp doesn't match, _but_ pleasee
note that as made clear in XSV's home page [1] XSV implements only a
very simple subset of XML Schema's regexp language, and treats any
pattern it doesn't cover as  _accepting everything_.

Having said that, your pattern falls within the subset XSV thinks it
can handle, and I _think_ it's correct in accepting "hello@world.com".

perl agrees, when I type it in by hand . . .


[1] http://www.ltg.ed.ac.uk/~ht/xsv-status.html
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Monday, 14 March 2005 08:42:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:07 UTC