rmuir commented on issue #14224: URL: https://github.com/apache/lucene/issues/14224#issuecomment-2654406157
i think a test against old parser should show it. maybe it indirectly did the `peek()`s and `match()`s differently in the case of no content within a `[]`, and didnt try to parse it as a character class, instead as literal `[` followed by `]`. If so we'll match it. That change is not intended to modify any semantics, just make things more efficient. -- 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. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org