Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: Timeout alarm for regex

by Ieronim (Friar)
on Jul 27, 2006 at 17:56 UTC ( [id://564193]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Timeout alarm for regex
in thread Timeout alarm for regex

on windows does not make any change.
C:\Perl\bin>set PERL_SIGNALS=unsafe C:\Perl\bin>perl -e"$SIG{ALRM} = sub{die}; alarm(1); $re = ('a*' x80). +'(b|c)'; $str = 'a' x 80;$str =~ /$re/;"
does not finish.

     s;;Just-me-not-h-Ni-m-P-Ni-lm-I-ar-O-Ni;;tr?IerONim-?HAcker ?d;print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://564193]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-25 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found