Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Delimited Backtracking with Regex

by neversaint (Deacon)
on Apr 21, 2006 at 01:52 UTC ( [id://544751]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    TXXXABCDGXXXCCCDTGYYYCCCYYYCC
    
  2. or download this
    XXXABCDGXXXCCCDTGYYYCCCYYY 
    XXXABCDGXXXCCCDTGYYY  
    XXXCCCDTGYYYCCCYYY    
    XXXCCCDTGYYY
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    my $str = "TXXXABCDGXXXCCCDTGYYYCCCYYYCC";
    $str =~ m/(XXX.*?YYY)/g;  
    print "$1\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-16 04:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found