CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions: Re: [bingo11] need a hand with this one: Edit Log



MrPJ
User

Mar 17, 2005, 5:11 PM


Views: 12635
Re: [bingo11] need a hand with this one

The regex won't work because your first match takes you all the way up to the third G, so the next match will be all the A's. I would think to get it to work you'd need to go back to the last non-A after each match by resetting pos().

I'll try a few ideas and get back to you.


(This post was edited by MrPJ on Mar 17, 2005, 5:19 PM)


Edit Log:
Post edited by MrPJ (User) on Mar 17, 2005, 5:12 PM
Post edited by MrPJ (User) on Mar 17, 2005, 5:13 PM
Post edited by MrPJ (User) on Mar 17, 2005, 5:18 PM
Post edited by MrPJ (User) on Mar 17, 2005, 5:18 PM
Post edited by MrPJ (User) on Mar 17, 2005, 5:19 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives