Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Delimited Backtracking with Regex

by ikegami (Pope)
on Apr 21, 2006 at 02:06 UTC ( #544756=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $str = "TXXXABCDGXXXCCCDTGYYYCCCYYYCC";
    local our @matches;
    ...
       (?!)                       # Try again
    /x;  
    print "$_\n" foreach @matches;
    
  2. or download this
    XXXABCDGXXXCCCDTGYYYCCCYYY
    XXXABCDGXXXCCCDTGYYY
    XXXCCCDTGYYYCCCYYY
    XXXCCCDTGYYY
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2020-12-01 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?