Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Perl regular expressions vs. RL, CFL, CSL

by gjb (Vicar)
on Jan 07, 2003 at 05:40 UTC ( #224866=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    { a^n b^n | n >= 0}
    
    ...
            (a*)
            (??{sprintf("b{%d}", (length($1)))})
           $/x
    
  2. or download this
    { a^n b^n c^n | n >= 0 }
    
    ...
            (??{sprintf("b{%d}", (length($1)))})
            (??{sprintf("c{%d}", (length($1)))})
           $/x
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2015-05-27 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (538 votes), past polls