getsaurabh02 opened a new pull request, #15750:
URL: https://github.com/apache/lucene/pull/15750

   ## Description
   Removes deprecated RegExp complement syntax support that was marked for 
removal in Lucene 11.
   
   ## Changes
   - Removed `DEPRECATED_COMPLEMENT` flag (deprecated in Lucene 10)
   - Removed `REGEXP_DEPRECATED_COMPLEMENT` enum value
   - Removed `makeDeprecatedComplement()` method
   - Removed deprecated test `testDeprecatedComplement()`
   - Updated MIGRATE.md with removal notice
   - Cleaned up unused imports
   
   ## Migration Path
   Users should use complement bracket expressions `[^...]` instead of the 
deprecated `~(...)` syntax.
   
   Example:
   - Old: `new RegExp("~(foo)", RegExp.DEPRECATED_COMPLEMENT)`
   - New: `new RegExp("[^fo]")`
   
   ## Testing
   - All 7,784 core tests pass
   - Code formatted with `./gradlew tidy`
   - No compilation errors
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to