in reply to Can anyone tell me what is going on with my code?(Regex match variables)
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can anyone tell me what is going on with my code?(Regex match variables)
by samh785 (Initiate) on Sep 30, 2015 at 17:49 UTC | |
by Laurent_R (Canon) on Sep 30, 2015 at 17:54 UTC |