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

Re^2: Regex related question

by Hena (Friar)
on Aug 08, 2011 at 07:26 UTC ( [id://919161]=note: print w/replies, xml ) Need Help??


in reply to Re: Regex related question
in thread Regex related question

This doesn't quite work. It breaks if there is duplication in end. See for example input: GCTGTGTGTGT.

Thanks for trying though :).

Replies are listed 'Best First'.
Re^3: Regex related question
by davido (Cardinal) on Aug 08, 2011 at 07:32 UTC

    :) That darn quantifier position is a pain in the rear. ;) The best way to fix it would be to use Perlbotics solution above.

    I posted a "just for fun" version as an update.


    Dave

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-28 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found