in reply to Re: Regular Expression gotchas ?
in thread Regular Expression gotchas ?
First of all - Thank you very much.
I am wondering if there is a way to clear out the $& value that holds the value of the last successful match (which is what I think is being used, if its one of the other perl vars, please correct me).
If there is not a way around it, I will have to change more of the original code, but I was hoping that I could clear and or reset the perl var.
PS. I am aware that $& is described as READONLY, but there seems to be tricks for everything, I am hoping there is a trick for this as well. i.e. a match that will effectively clear the value?
the_Don
...making offers others can't rufuse.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Regular Expression gotchas ?
by hv (Prior) on Feb 18, 2003 at 22:50 UTC |