--- old/src/share/classes/java/util/regex/Matcher.java 2014-04-18 06:24:49.594012312 -0700 +++ new/src/share/classes/java/util/regex/Matcher.java 2014-04-18 06:24:49.429011185 -0700 @@ -830,7 +830,7 @@ * *

The replacement string may contain references to subsequences * captured during the previous match: Each occurrence of - * $g will be replaced by the result of + * $g will be replaced by the result of * evaluating {@link #group(int) group}(g). * The first number after the $ is always treated as part of * the group reference. Subsequent numbers are incorporated into g if