akramdevstuffs opened a new pull request, #21482: URL: https://github.com/apache/kafka/pull/21482
This patch adds support for glob character classes ([...]) in **GlobComponent**. Changes: - Implement parsing for character classes - Support negation using '!' or '^' - Support escaped characters within character classes - Extract character class handling into a helper method to reduce NPath complexity - Add unit tests covering valid and malformed patterns Validation is intentionally minimal to preserve existing **toRegularExpression** semantics. Malformed character classes that are not explicitly detected will continue to fail during regular expression compilation, consistent with the previous behavior. Please review. -- 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]
