I've created a tool to launch PHP scripts (command line interface). Now I'm trying to add a regex (POSIX syntax) so I can double click on errors and jump to the offending line. Errors look like this:
Parse error: parse error, unexpected T_STRING in C:\tmp\borrame.php on line 31
Warning: Wrong parameter count for mysql_query() in C:\tmp\borrame.php on line 60
... and many other variations... I've tried to escape parenthesis... I've tried everything... to no avail. I always get a "cannot jump to element under cursor" error message. What vital point am I missing?
You're right, it seems the key is that the expression must match the beginning of the line (a sort of implicit ^). Your regex works fine. Actually, even the second of my examples works fine today. Damn computer goblins.