in reply to Solved: Regex syntax frustration

Your regex is probably not to blame. I believe the error is a missing semicolon on one of the lines above this point in the script... usually a line or two above. Another possibility is unmatched brackets or parens or quotes in a line within a line or several above these points in the script.

Sometimes such errors aren't detected on the line in which they occur, usually because whatever the result is of the missing semicolon (or whatever) isn't syntactically erroneous until something else comes along on the next line.


Dave