Re: Regular expressions: confirmation needed

Eric van der Vlist <vdv@dyomedea.com> writes:

> Many (most?) languages do accept octal and hex escapes (such as \x#20)
> in regular expressions.
> 
> The rec is clear (IMO) that these escapes are not allowed (at least I
> haven't found them in the EBNF for patterns) and Xerces agrees and
> rejects them. 
> 
> However, I have a customer who insists using them, saying that they are
> mentioned in Microsoft's doc (but I haven't found where) and that MSXML
> 4.0 does accept them (which I can confirm).
> 
> Can you confirm that these escapes are forbidden and that numeric
> entities should be used instead?

That's my reading.

ht
-- 
  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@cogsci.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, 30 June 2003 05:11:25 UTC