[relaxng-user] Latest proposal for smart regexes in RELAX
NG
Dave Pawson
dpawson at nildram.co.uk
Thu May 6 19:09:31 ICT 2004
At 18:22 06/05/2004, David Tolpin wrote:
>As funny as it is, I think that the accepted syntax for regular
>expressions is exceptionally elegant, and tools success is a proof
>of it. There were (and are) other approaches for string pattern
>matches, but unix/posix regexps are very good.
<grin/> I think it looks like line noise !
>They do solve the problem they are designed for -- efficient expression
>of string templates.
Yes, and very good they are too, at their designed job.
>XML regexps don't even come close -- all attempts
>to express regexps in XML (I've seen so far) are the real line noise,
>not string regexps.
>
>The learning curve is steep, but at the top of the hill you get
>a tool which is pleasant to use and fun to debug. As opposite to
>XML markup.
I've not used XML regexps so I can't compare.
regards DaveP
More information about the relaxng-user
mailing list