Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8246198

Minor typo injava/util/regex/Pattern.java

XMLWordPrintable

    • b26
    • Not verified

      The following diff addresses a typo in the description of Mastering Regular Expressions:


      $ hg diff src/java.base/share/classes/java/util/regex/Pattern.java
      diff -r 968b57610c0f src/java.base/share/classes/java/util/regex/Pattern.java
      --- a/src/java.base/share/classes/java/util/regex/Pattern.java Sat May 30 10:33:28 2020 +0530
      +++ b/src/java.base/share/classes/java/util/regex/Pattern.java Sat May 30 15:02:58 2020 -0400
      @@ -760,8 +760,8 @@
        *
        * <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,
      - * O'Reilly and Associates, 2006.</a>
      + * <i>Mastering Regular Expressions, 3rd Edition</i>, Jeffrey E. F. Friedl,
      + * O'Reilly and Associates, 2009.</a>
        * </p>
        *
        * @see java.lang.String#split(String, int)
      ljanders-mac:open ljanders$

            lancea Lance Andersen
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: