in reply to Re^2: REGEX search for words not in quotes.
in thread REGEX search for words not in quotes.

Is that:

SELECT "SELECT * FROM table1 WHERE ...",'FROM WHERE' SQL FROM table2 j +oin(select from here to where eternity) WHERE ...

valid syntax anywhere?

I'm betting the answer is no. So why the hell are you trying to cater for it?

My house could be struck by a meteorite--it happens--but even the most risk adverse, paranoid people on the planet--insurance companies--do not require me to indemnify against it.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"

Replies are listed 'Best First'.
Re^4: REGEX search for words not in quotes.
by Anonymous Monk on Apr 09, 2010 at 12:44 UTC

    Trust me, sir! Unfortunately we do!