Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Efficient walk/iterate along a string

by LanX (Chancellor)
on Nov 25, 2010 at 02:27 UTC ( #873570=note: print w/replies, xml ) Need Help??

in reply to Re: Efficient walk/iterate along a string
in thread Efficient walk/iterate along a string

IMHO you can do most of the work in one single regex with nested groupings, unfortunately I don't have the time until next week to fiddle out how exactly.

But most probably you'll get a faster response, since this is the monastery ... :)

Cheers Rolf

PS: but no guaranty that it's faster...

  • Comment on Re^2: Efficient walk/iterate along a string

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://873570]
[TStanley]: talexb I was actually in your area last week. I was working in Milton, Ontario at the hospital they are building there.
Eily hasn't entered monk school
[Eily]: there are some special array variables that are not interpolated in double strings, like @*, @/, @(, and @)
[Eily]: is this documented somwhere?
[Eily]: "@{/}" does interpolate @/ though
[Eily]: (while the same for @*, @(, and @) throw a warning)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (15)
As of 2017-06-23 13:59 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (547 votes). Check out past polls.