LANGUAGE/!$%!% ERROR NOTE 2016. 12. 1. 05:07

!markdown 





### Error (에러)

```no

java.lang.IllegalArgumentException: named capturing group has 0 length name

```


### Problem (문제)



### Solved(해결)


JAVA

```java

replacement = replacement.replaceAll("\\$", "\\\\\\$");

strToReplace = strToReplace.replaceAll(reg, replacement);

```


GROOVY

```groovy

replacement = replacement.replaceAll('\\$', '\\\\\\$')

strToReplace = strToReplace.replaceAll(reg, replacement)

```


### Refference (참고)

[http://sojw.tistory.com/1169741915](http://sojw.tistory.com/1169741915)