What do you expect the values of $1 and $2 to be after this line:
s/:/-/g
You will need to copy the values before doing another regular expression match.
In reply to Re: Can anyone tell me what is going on with my code?(Regex match variables)
by Corion
in thread Can anyone tell me what is going on with my code?(Regex match variables)
by samh785
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |