Re: Latest proposal for smart regexes in RELAX NG
[email protected] Tue, 4 May 2004 17:27:49 -0400
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
[email protected] 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: [email protected] That thou wast born with. http://www.reutershealth.com