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

(spec) Description of \p{Print} in Pattern doc is wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 5.0
    • core-libs
    • b48
    • x86
    • windows_xp

      Name: gm110360 Date: 05/17/2004


      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      In the javadoc for java.util.regex.Pattern, the POSIX character
      class \p{Print} is described as "A printable character: [\p{Graph}]".
      It actually matches everything \p{Graph} does, PLUS the space
      character: [\p{Graph}\x20].


      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 269869)
      ======================================================================
      ###@###.### 11/1/04 20:34 GMT

            sherman Xueming Shen
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: