I'm probably way off here but are you certain that the command line processing isn't interferring here?
Using your exact script on my win32 system, typing:
C:\test>178232.pl "QUICK=BROWN FOX" "JUMPED=OVER THE LAZY" DOG QUICK,JUMPED
Of course, the brain-dead CMD required me to quote the parameters with spaces, but the fact that it then works could mean that its your CLP that is interfering here.
Try inserting:
local($,=",",$\="\n"); # << Corrected typo/brain fade print @ARGV;
at the top of your prog and see what your getting in?
BTW. Is there any specific reason you are escaping the "=" with backslashes? Your regex seems to work fine without them.
update: correct minor typo. (And again!) Ditto!.
In reply to Re: Regular expression double grouping negation headache
by BrowserUk
in thread Regular expression double grouping negation headache
by JayBonci
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |