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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: