in reply to Re: HTML::TreeBuilder::XPath and regular expressions
in thread HTML::TreeBuilder::XPath and regular expressions
Yes, I cheated. In XML::XPathEngine, which provides the XPath engine for HTML::TreeBuilder::XPath, it was easy and seemed like the Perlish thing to do to integrate regexps in the XPath syntax itself.
From looking at the code (which I inherited from XML::XPath), the official XPath way, using fn:matches(subject, pattern, flags) doesn't seem to be supported. Patches welcome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: HTML::TreeBuilder::XPath and regular expressions
by rduke15 (Beadle) on Mar 29, 2010 at 14:26 UTC | |
by rduke15 (Beadle) on Mar 29, 2010 at 14:37 UTC | |
by mirod (Canon) on Mar 29, 2010 at 15:06 UTC |