8185754: Typo in java.util.regex.Pattern javadoc: no slash in \p class
authorigerasim
Wed, 02 Aug 2017 16:20:02 -0700
changeset 46058 d7cc0adf7ce1
parent 46057 ed5d7dfb0a71
child 46059 6ed7ca4447a9
8185754: Typo in java.util.regex.Pattern javadoc: no slash in \p class Reviewed-by: bpb
jdk/src/java.base/share/classes/java/util/regex/Pattern.java
--- a/jdk/src/java.base/share/classes/java/util/regex/Pattern.java	Tue Aug 01 15:59:07 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/util/regex/Pattern.java	Wed Aug 02 16:20:02 2017 -0700
@@ -667,11 +667,11 @@
  * <tr><td>{@code \p{Alpha}}</td>
  *     <td>An alphabetic character:{@code \p{IsAlphabetic}}</td></tr>
  * <tr><td>{@code \p{Digit}}</td>
- *     <td>A decimal digit character:{@code p{IsDigit}}</td></tr>
+ *     <td>A decimal digit character:{@code \p{IsDigit}}</td></tr>
  * <tr><td>{@code \p{Alnum}}</td>
  *     <td>An alphanumeric character:{@code [\p{IsAlphabetic}\p{IsDigit}]}</td></tr>
  * <tr><td>{@code \p{Punct}}</td>
- *     <td>A punctuation character:{@code p{IsPunctuation}}</td></tr>
+ *     <td>A punctuation character:{@code \p{IsPunctuation}}</td></tr>
  * <tr><td>{@code \p{Graph}}</td>
  *     <td>A visible character: {@code [^\p{IsWhite_Space}\p{gc=Cc}\p{gc=Cs}\p{gc=Cn}]}</td></tr>
  * <tr><td>{@code \p{Print}}</td>