Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Is it safe to use external strings for regexes?

by LanX (Saint)
on Oct 07, 2021 at 21:53 UTC ( [id://11137320]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        print 'done      ',  time -$start," sec";
        print "\n" x2;
    }
    
  2. or download this
    C:/Strawberry/perl/bin\perl.exe -w d:/tmp/pm/redos.pl 
    === length=5 string=aaaaa
    ...
    post rx 1 20 sec
    post rx 2 20 sec
    done      20 sec
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found