Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
redhat enterprise workstation 4
Description
when calling the replaceAll function on java.lang.String with a backslash :
println 'xxxx'.replaceAll('x',
{'\\'})
I get the following exception:
Caught: java.lang.StringIndexOutOfBoundsException: String index out of range: 1
any other character does not cause the same exception