Fix NullPointerException at
java.util.regex.Matcher.getTextLength(Matcher.java:1234)
Merge pull request #796 from emmanuel-keller/1.6

Fix NullPointerException at