Remove usage of deprecated org.apache.lucene.util.automaton.RegExp.DEPRECATED_COMPLEMENT [1].
History: Lucene 9.x has support for complement. During development of Lucene 10, complement was remove. Before Lucene 10 was shipped we added back complement, but as DEPRECATED_COMPLEMENT. Lucene 11 will completely remove this.
[1]: Add deprecated complement (~) operator to RegExp #13739
Remove usage of deprecated
org.apache.lucene.util.automaton.RegExp.DEPRECATED_COMPLEMENT
[1].History: Lucene 9.x has support for complement. During development of Lucene 10, complement was remove. Before Lucene 10 was shipped we added back complement, but as DEPRECATED_COMPLEMENT. Lucene 11 will completely remove this.
[1]: Add deprecated complement (~) operator to RegExp #13739