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

Minor typo injava/util/regex/Pattern.java

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b26
    • Verification:
      Not verified

      Description

      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$

        Attachments

          Activity

            People

            • Assignee:
              lancea Lance Andersen
              Reporter:
              lancea Lance Andersen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: