Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of jjore (6662)

Wednesday September 16, 2009
01:10 PM

Missing Perl's useful regexp errors

[ #39636 ]

Using ruby-1.9, I just got the helpful exception "bin/pp-pretty:60: undefined (?...) sequence: / (RegexpError)". I don't know what it's complaining about since it's not telling me where inside the 70 line regexp it started failing. :-(

When I write Perl, I get useful context like:

Reference to nonexistent named group in regex; marked by <-- HERE in m/
    : [ \t\n]*
      0x[0-9a-f]+ [ \t\n]* (?=\@) (?&object_data <-- HERE )
      | [^>]*

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.