Re: Latest proposal for smart regexes in RELAX NG
Dave Pawson <[email protected]> Thu, 06 May 2004 19:09:31 +0100
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
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