changeset 46058:d7cc0adf7ce1

8185754: Typo in java.util.regex.Pattern javadoc: no slash in \p class Reviewed-by: bpb
author igerasim
date Wed, 02 Aug 2017 16:20:02 -0700
parents ed5d7dfb0a71
children 6ed7ca4447a9
files jdk/src/java.base/share/classes/java/util/regex/Pattern.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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>