Jay-1409 opened a new pull request, #23850:
URL: https://github.com/apache/kafka/pull/23850

   Add character range (`[...]`) support to `GlobComponent` in Kafka Metadata 
Shell. Previously, `[` and `]` were treated as literal characters rather than a 
glob operator, preventing users from matching ranges like `node[1-3]` or sets 
like `topic_[abc]`.
   
   This change:
   - Recognizes `[` and `]` as glob special characters.
   - Parses character classes and sets inside `[...]`, translating negation 
(`!` and `^`) to regex `[^...]`.
   - Handles escaped brackets (`\[` and `\]`) as literals.
   - Adds comprehensive unit tests in `GlobComponentTest`.
   


-- 
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]

Reply via email to