in reply to Re: Re(3): Regex for stripping variable names from a JavaScript file
in thread Regex for stripping variable names from a JavaScript file

My pleasure. Actually, this is my first time using Parse::RecDescent, although I've written small grammars using bison. I didn't mean to actually solve your whole problem for you, just point you in the right direction.

By 'missing' I was referring to the fact that in the following output, myTest, myTest1 and myTest2 are not picked up:

var myTest9 = myTest[0], myTest10 = myTest[0]; ==> ( myTest9 myTest10 ) var myTest11 = (myTest1 == myTest2); ==> ( myTest11 )