tag:blogger.com,1999:blog-6421990566053383182.post638611985992268417..comments2024-03-27T22:25:58.141-04:00Comments on The Big Mud Puddle: Regexes Parse XML Just Fine, ActuallyJon Purdyhttp://www.blogger.com/profile/08893015329760742645noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6421990566053383182.post-55438049623213805142011-10-09T00:13:14.491-04:002011-10-09T00:13:14.491-04:00Check out this work from:
http://www.cs.sfu.ca/~c...Check out this work from:<br /><br />http://www.cs.sfu.ca/~cameron/REX.html<br /><br />I used it some time ago (circa 2000) in Perl scripts that parsed XML quite nicely and fast in memory.<br /><br />SergioAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6421990566053383182.post-37854694607631214942011-10-08T15:58:44.730-04:002011-10-08T15:58:44.730-04:00The "famous answer" predates Perl 5.10. ...The "famous answer" predates Perl 5.10. In pre-5.10 Perl, the techniques Jon showed aren't available (unless you consider (??{ }) to be a true regexp construct)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6421990566053383182.post-4111033367046606612011-10-08T15:51:02.809-04:002011-10-08T15:51:02.809-04:00@Anonymous:
It is one regex, split only for conve...@Anonymous:<br /><br />It is one regex, split only for convenience.Jon Purdyhttps://www.blogger.com/profile/08893015329760742645noreply@blogger.comtag:blogger.com,1999:blog-6421990566053383182.post-71395036589178432942011-10-08T15:45:59.119-04:002011-10-08T15:45:59.119-04:00Except the famous answer is about using a singular...Except the famous answer is about using a singular regexp to parse HTML. Of course you can craft a series of regexp and additional code to parse HTML, big deal?Anonymousnoreply@blogger.com