in reply to RE: Re: matching quotes
in thread matching quotes

Here is a single regex inside the while loop, but it is slower:
while ( $file =~ /((?<!\\)\".*?(?<!\\)\")/sg) { print $1; }
Update: takshaka is correct of course. I flaked out and did not need to backslach the ", fortunatley it works just fine either way, just more clutter.

I dont know about my relativistic typing. I guess I am just that good :) Acutally I once took a typing test and got around a -400 wpm (note the negative!) ... apparently I got docked for extensively using the backspace key. (Either that or I typed so damn fast that I overflowed the signed int ... yah, thats it, I really typed 65136 wpm, man I'm good!)