Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: A Regex simple Question

by johngg (Canon)
on Sep 06, 2007 at 15:55 UTC ( [id://637466]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($s =~ /^a(?!.*ab).*b$/) {
    
  2. or download this
    use strict;
    use warnings;
    ...
       ? qq{$_: matched\n}
       : qq{$_: unmatched\n}
       for @strings;
    
  3. or download this
    a000000000b: matched
    a0a0000b00b: matched
    a0000ab000b: unmatched
    a00000000ab: matched
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-24 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found