Regex101
Regex101 copied to clipboard
Lucene / Elastic regex flavor
Flavor Request for Lucene
Lucene is the foundation of many search engine technologies, most prominently perhaps Elasticsearch, itself used by a whole slew of search engine and dashboarding solutions. It uses quite a different form of regex. I always have trouble writing these queries, simply because they are quite a bit different from what is possible in pcre.
The documentation is here: https://lucene.apache.org/core/7_3_0/core/org/apache/lucene/util/automaton/RegExp.html https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html
Specifically:
- Limited set of operators
- no anchoring ^ (beginning of line) or $ (end of line)
- A few additional operators and flags
+1 for this! Please add flavor support for Elasticsearch/Lucene!