Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Using variables in regex search

by lancer (Beadle)
on Aug 14, 2011 at 15:08 UTC ( #920229=note: print w/replies, xml ) Need Help??


in reply to Re^3: Using variables in regex search
in thread Using variables in regex search

I would like to find the positions of all the strings in the source text. The strings mark special positions in the source that need to be processed.

Perhaps that is the first case in your example, where finding the strings is enough.

I haven't realized index can be used like that, to find multiple matches. Or at least I imagined it would need more code than that. I'm going to use that solution now, instead of a regex.

Thank you for all the help!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://920229]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2017-01-21 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (183 votes). Check out past polls.