in reply to Re: Back reference in s///g ?
in thread Back reference in s///g ?
Hi jwkrahn,
Your solution look interesting. However, after I google it I am not so understand the zero-width assertion (I never touch the extended thing). Would you like to explain it little more? Thank you
**For all,
Thank you for your replies. The magic capturing parentheses works! However, as far I know, the parentheses is usually used with include the string store in variable into a pattern. If the parentheses is the only way to do the inclusion, would it mean I will get the capturing effect? Also, Does capturing cost more in a regular expression matching?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Back reference in s///g ?
by ikegami (Patriarch) on Mar 24, 2008 at 18:54 UTC | |
|
Re^3: Back reference in s///g ?
by jwkrahn (Abbot) on Mar 24, 2008 at 23:01 UTC |