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

Add support for named (instead of numbered) capture groups in regular expression

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 5.0
    • core-libs
    • b50
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :
      In C# and Python, capture groups can be named using strings (as described at http://www.regular-expressions.info/named.html). Java regular expressions should support this.

      JUSTIFICATION :
      Such a modification would fit well with Java's object-oriented nature, making regular expressions more like fields of a class.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: