Incorrect use of ')'

Home Topic     Print this Topic

 

The character ) has been incorrectly used in the regular expression. In a regular expression ) is used with ( to allow certain expressions to act on more than one character. To search for ) in a regular expression you must use \)

 

Examples

Te)xt

Error!

)

Error!

\)

will search for )

(do)+

will match do and dodo