Nikita Korolev
Nikita Korolev

Reputation: 13

Lucene any letter regex

I have a problem with finding equivalent for \p{L} (any letter any lang) in lucene 5.5.0.

Does anyone know equivalent?

Upvotes: 1

Views: 141

Answers (1)

femtoRgon
femtoRgon

Reputation: 33351

Lucene regular expression syntax does not have such a built in class. The syntax available is documented by the RegExp class.

There may be other ways to support your end goals here (ie. with the right analysis). If you would be inclined to post a question with more detail on what those goals actually are, perhaps this will turn out to be an XY Problem?

Upvotes: 1

Related Questions