Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Disabling regexp optimizations?

by diotalevi (Canon)
on Oct 15, 2005 at 18:17 UTC ( [id://500475]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    " failed " =~ /(?{ $ok = 1 })XXX/;
    print $ok ? "Good" : "Bad";
    
  2. or download this
    Compiling REx `(?{ $ok = 1 })XXX'
    size 5 Got 44 bytes for offset annotations.
    first at 1
    ...
    anchored `XXX' at 0 (checking anchored) minlen 3 with eval
    Offsets: [5]
            1[14] 0[0] 15[3] 0[0] 18[0]
    
  3. or download this
    Guessing start of match, REx `(?{ $ok = 1 })XXX' against ` failed '...
    Did not find anchored substr `XXX'...
    Match rejected by optimizer
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://500475]
Approved by sk
Front-paged by gmax
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found