Login
From:
mauke
(Uncensored)
subscribe
Converting glob patterns to regular expressions
https://blogs.perl.org/users/mauke/2015/08/converting-glob-patterns-to-regular-expressions.html
links
backlinks
Tagged with:
regex
glob
Let's say you have a glob pattern with shell-style wildcards from a config file or user input, where ? matches any character and * matches any string (0 or more characters). You want to convert it to a regex, maybe...
Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Roast topics
Find topics
Find it!