You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Mark Harwood (Jira)" <ji...@apache.org> on 2020/04/21 14:44:00 UTC
[jira] [Created] (LUCENE-9336) RegExp.java - add support for
character classes like \w
Mark Harwood created LUCENE-9336:
------------------------------------
Summary: RegExp.java - add support for character classes like \w
Key: LUCENE-9336
URL: https://issues.apache.org/jira/browse/LUCENE-9336
Project: Lucene - Core
Issue Type: Improvement
Components: core/other
Reporter: Mark Harwood
Assignee: Mark Harwood
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|https://docs.oracle.com/javase/tutorial/essential/regex/pre_char_classes.html]
I can work on a patch if we think this is something we want to consider.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org