Very observant of you, JavaFan - I misinterpreted my editor's change in highlighting colour inside the slashes which was due to the fact that the quote contained a variable, not a syntax error. Please ignore my comment on the syntax error.
Comment on Re^2: How to define a list of regular expressions?