[relaxng-user] Latest proposal for smart regexes in RELAX NG
jcowan at reutershealth.com
jcowan at reutershealth.com
Tue May 4 17:27:49 ICT 2004
David.Pawson at rnib.org.uk scripsit:
> Would you put a little context around this please John?
> Or a uri where I might read about it?
The context is that it would be nice to have a better regular expression
facility than the WXS pattern facet, which uses quite limited regular
expressions, written in a messy hard-to-use code that has nothing to
do with the rest of WXS *or* RNG, and has no facility for building up
patterns from pieces of other patterns.
The design I posted is:
1) cleanly embeddable into RNG, sharing its naming conventions when possible
2) uses elements in the rx: namespace to express the components of
regular expressions
3) allows references with rx:ref to sub-regexes defined within
ordinary rng:define elements.
4) implementable using an ordinary Posix regex engine
--
LEAR: Dost thou call me fool, boy? John Cowan
FOOL: All thy other titles http://www.ccil.org/~cowan
thou hast given away: jcowan at reutershealth.com
That thou wast born with. http://www.reutershealth.com
More information about the relaxng-user
mailing list