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

Re: slow regular expressions

by blokhead (Monsignor)
on Aug 08, 2006 at 05:37 UTC ( #566075=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    "aaaa" =~ /a*a*b/
    
  2. or download this
    "aaaa" =~ m/ (a*) (a*) (?{ print "Tried $`($1)($2)\n"; }) (?!) /x;
    
  3. or download this
    Tried (aaaa)()
    Tried (aaa)(a)
    ...
    Tried aaa()(a)
    Tried aaa()()
    Tried aaaa()()
    
  4. or download this
    24670925422945900903156716 (= 2e25)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2022-07-03 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?