will end up matching .../200/ instead. Seems like I need to make copies of the pattern to work with, rather than trying to be fancy and modify a single copy.
Also, I need to add code to handle the special case of a literal pattern, and bail directory enumeration at the first positive match.
For example
will end up matching .../200/ instead. Seems like I need to make copies of the pattern to work with, rather than trying to be fancy and modify a single copy.
Also, I need to add code to handle the special case of a literal pattern, and bail directory enumeration at the first positive match.