Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: Regex fun

by Hena (Friar)
on Dec 16, 2009 at 10:18 UTC ( #813002=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      while (m/[+-]([0-9]+)/g) {
        printf "pos ($1): %d -> ",pos($_)-1;
        pos($_) -= length($1)+1;
        printf "pos ($1): %d\n",pos($_)-1;
        s/\G[+-]$1[ACGTNacgtn]{$1}// || last;
      }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2021-05-09 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (101 votes). Check out past polls.

    Notices?