groovy: how to escape "(" regex etc in textarea?

Posted by user311884 on Stack Overflow See other posts from Stack Overflow or by user311884
Published on 2010-04-09T18:31:41Z Indexed on 2010/04/09 19:33 UTC
Read the original article Hit count: 323

Filed under:
|
|

I have some text area field in my grails application. I got the following errors:

.PatternSyntaxException: Unmatched closing ')' near index 36 Name: note: 1) data listing ....

how could i escape the regular expressions in the text area field?

thanks.

© Stack Overflow or respective owner

Related posts about groovy

Related posts about escape