Re: Imlementing regular expression

[email protected] Thu, 6 May 2004 11:18:03 -0400
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
David Tolpin scripsit:

> I am not sure it is important, or even usable,
> because Posix regexps are not Unicode-aware,
> and because implementing full XML Schema regular expressions
> took just one evening (and under one thousand lines in C).

Hmm.  DFA or NFA?  One advantage of not allowing extensions to regularity
is that the compactness and speed of a DFA becomes available.

W3C Schema regexes are broken in a number of ways: they are
massively incomplete, they provide facilities (like matching
by block name) that look useful but are actually very dangerous --
e.g. p{IsSinhalese} does not match all characters required for
Sinhalese text -- and generally should be replaced by something
more general and useful for RNG purposes.

-- 
John Cowan  www.ccil.org/~cowan  www.reutershealth.com  [email protected]
Mr. Henry James writes fiction as if it were a painful duty.  --Oscar Wilde