Web::Scraper resp. the underlying HTML::Selector::XPath doesn't understand XPath regular expressions - they came in with XPath version 2.0 which it doesn't support. The correct syntax for a contains() query would be:
div[contains(@data-content, "/ajax/ereignis")]
If that helps you already then that's it, otherwise you'll have to add some postprocessing in Perl.
In reply to Re: web::scraper and regex
by Corion
in thread web::scraper and regex
by Trace On
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |