[PATCH] Typo in java.util.regex.Pattern

Lance Andersen Lance.Andersen at oracle.com
Sat May 30 11:02:09 UTC 2020


I can sponsor this for you

Best 
Lance

--

Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com

Sent from my iPhone

> On May 29, 2020, at 10:25 PM, Hong Shao Yang <hongsy2006 at gmail.com> wrote:
> 
> Hi!
> 
> I found a typo which has been long undetected in the documentation.
> 
> In case you think this is worthwhile, I would appreciate it if someone
> can sponsor this patch.
> 
> Cheers,
> Shao Yang
> 
> ========= PATCH ==========
> 
> diff --git a/src/java.base/share/classes/java/util/regex/Pattern.java
> b/src/java.base/share/classes/java/util/regex/Pattern.java
> index 0d7d0738965..82325d04f25 100644
> --- a/src/java.base/share/classes/java/util/regex/Pattern.java
> +++ b/src/java.base/share/classes/java/util/regex/Pattern.java
> @@ -760,7 +760,7 @@ import jdk.internal.util.ArraysSupport;
>  *
>  * <p> For a more precise description of the behavior of regular expression
>  * constructs, please see <a href="http://www.oreilly.com/catalog/regex3/">
> - * <i>Mastering Regular Expressions, 3nd Edition</i>, Jeffrey E. F. Friedl,
> + * <i>Mastering Regular Expressions, 3rd Edition</i>, Jeffrey E. F. Friedl,
>  * O'Reilly and Associates, 2006.</a>
>  * </p>
>  *


More information about the core-libs-dev mailing list