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/05/06 10:40:00 UTC

[jira] [Commented] (LUCENE-9336) RegExp.java - add support for character classes like \w

    [ https://issues.apache.org/jira/browse/LUCENE-9336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100659#comment-17100659 ] 

Mark Harwood commented on LUCENE-9336:
--------------------------------------

I opened a [PR|https://github.com/apache/lucene-solr/pull/1489]

> 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
>            Priority: Major
>
> 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