in reply to Crafting a regex
This means you should avoid using anything that might cause perl to backtrack or lookahead - mostly that means the (?...) operators.
Anyhow, from your example, it looks like the closing quote is always the last one, so you could just take advantage of perl's greediness and use the following regexp, which should run at exactly the same speed as your original:
Andrew./^(\S+).*?\[(\S+).*?] (\S+) "(.+)" (\d+)/
|
|---|