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

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://920229]
NodeReaper eats a grue

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2018-05-26 20:24 GMT
Find Nodes?
    Voting Booth?