Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2017-08-23 05:22 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (347 votes). Check out past polls.