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

JavaDoc bug about Pattern.compile("\\")

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 6
    • core-libs

      J2SE Version (please include all output from java -version flag):
        java version "1.6.0-rc"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-rc-b65)
        Java HotSpot(TM) Client VM (build 1.6.0-rc-b65, mixed mode, sharing)

      JavaDoc bug about Pattern.compile("\\")

      Reading the evaluation from Bug 4783892 it would appear the JavaDoc is wrong.
      I am looking at the most recent JavaDoc: http://download.java.net/jdk6/docs/api/java/util/regex/Pattern.html and it only shows \\ for the backslash character instead of \\\\ as the evaluation says it should.

            sherman Xueming Shen
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: