mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
This commit replaces two alternating regular expressions (that is, regular expressions that consist of the form a|b where a and b are characters) with the equivalent regular expression rewritten as a character class (that is, [ab]) The reason this is an improvement is because a|b involves backtracking while [ab] does not. Relates #24316