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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: main (9.0)
    • Component/s: core/other
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: