Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Regex exact pattern match problem!

by johngg (Canon)
on Nov 21, 2008 at 13:19 UTC ( [id://725123]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    $t2 =~ s{((?:3{4})+)}{ qq{[@{ [ length $1 ] }]} }eg;
    print qq{Without either\n$t2\n@{ [ q{=} x 50 ] }\n};
    
  2. or download this
    Sequences of 3s:-
    >33335<
    ...
    Without either
    [33332]3337
    ==================================================
    

Log In?
Username:
Password:

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

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

    No recent polls found