in reply to Re: regex to match one nasty javascript line
in thread regex to match one nasty javascript line

You don't need to use a filehandle to alias $_ to something. for ($var) { ... } works nicely.