in reply to Re: Efficient log parsing?
in thread Efficient log parsing?
It was something like this I was looking for. Only, since my regex get passed in from the user (and I therefore I cannot know the number of parethesized subexpressions used), I need to advance my offset with $+[0];.
Could someone possibly refer me to some point in the docs that states that this kind of use of substr really is efficient? (I know I too have read that somewhere, sometime long ago -- but where?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Efficient log parsing?
by zrajm (Beadle) on Dec 17, 2007 at 19:41 UTC |