hello,
i am fairly new to perl and am experienceing difficulty completely a regular expression, that, when applied to a line of perl source, will extract all variables and store them in an array. the basic regex i have is as follows:
however this expression fails to deliver when it encounters an escaped dollar sign in code..such as
(the regex would add '$1' to @variables). i am not sure how negation works in regexs, and was wondering if someone could assist me in writing a regular expression that would place do what mine does but DOESNT place the variable name in the array if it starts with \$.
thank you in advance,
cghost23