Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9336

RegExp.java - add support for character classes like \w

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • core/other
    • None
    • New

    Description

      Character classes commonly used in regular expressions like \s for whitespace are not currently supported and may well be returning false negatives because they don't throw any "unsupported" errors.
      The proposal is that the RegExp class add support for the set of character classes defined by Java's Pattern API

      I can work on a patch if we think this is something we want to consider.

      Attachments

        Activity

          People

            mharwood Mark Harwood
            mharwood Mark Harwood
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: