Re: [PATCH] regexp support added to command line arguments
"Todd C. Miller" <[email protected]>
| Newsgroups | gmane.comp.tools.sudo.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm going to have to think about this a bit. The main thing holding up regex support was the lack of a good way to specify separate regexes for the command and the args. Only supporting them in the arguments is more straightforward to implement but could be a little confusing. Rather than support extended regular expressions now and add perl-compatible regular expressions later I think it would be better for sudo to just include a copy of pcre to use if the system doesn't have it already. This is similar to how zlib support is done. Also, using pcre makes it easier to specify modifiers inside the regex itself for things like case-insensitive matching. - todd ____________________________________________________________ sudo-workers mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-workers