You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2020/05/14 14:26:55 UTC
[GitHub] [lucene-solr] markharwood opened a new pull request #1516: Lucene 9370: Remove leniency on illegal backslashes in RegExp query
markharwood opened a new pull request #1516:
URL: https://github.com/apache/lucene-solr/pull/1516
This prevents illegal backslash syntax from user searches being accepted now and throws an error instead.
This echoes the [Java Pattern policy](https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#bs) which is designed to allow future expansion to the regex syntax without conflict. It also corrects any misconceptions users might have about predefined character classes we do not support.
This PR also fixes a bug introduced in Lucene-9336 where searches for `\\` would crash.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
[GitHub] [lucene-solr] markharwood merged pull request #1516: Lucene 9370: Remove leniency on illegal backslashes in RegExp query
Posted by GitBox <gi...@apache.org>.
markharwood merged pull request #1516:
URL: https://github.com/apache/lucene-solr/pull/1516
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org