sudo-rs icon indicating copy to clipboard operation
sudo-rs copied to clipboard

Simple bracket expressions

Open noahboa27 opened this issue 5 months ago • 0 comments
trafficstars

I decided to go with the existing loop style as the wildcard_match function for continuity, simplicity, and index control. With this draft I have a few questions:

  1. Can I assume that the incoming patterns are formatted correctly? So nothing weird like [[[//**//]]] or invalid patterns such as [].
  2. Should I include room for things like [a-], [-a], or [\w]?
  3. Should combinations of the wildcard and brackets within a single pattern be possible?

Thank you for your time and comments :grin:

noahboa27 avatar May 21 '25 20:05 noahboa27