Bug#526436: libperl4caml-ocaml-dev: Using regexp fails with www_mechanize.follow_link

2009-05-02 Thread Richard Jones
I don't think calling 'eval' is a good way to solve this, since the argument could contain all sorts of things, not just a well-behaved regexp. We need to somehow convert the string to a regexp using a function from perlguts. Unfortunately I could work out how to actually do this, so it needs

Bug#526436: libperl4caml-ocaml-dev: Using regexp fails with www_mechanize.follow_link

2009-05-01 Thread Fabien Givors
Package: libperl4caml-ocaml-dev Version: 0.9.5-2 Severity: important Tags: patch In the module Pl_WWW_Mechanize, class www_mechanize, if I use the method follow_link with label url_regex or text_regex I got a Perl error message telling me the argument is not a regexp. Here is the code of the