From 22103775cb9236b6f13d138e5377b112335b76cd Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 3 Oct 2008 19:56:40 +0000 Subject: [PATCH] Mention POSIX characters classes now that out fnmatch() and glob() support them. --- sudoers.pod | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sudoers.pod b/sudoers.pod index 1cbbfea9f..55cff0f0c 100644 --- a/sudoers.pod +++ b/sudoers.pod @@ -401,6 +401,15 @@ escape special characters such as: "*", "?", "[", and "}". =back +POSIX character classes may also be used if your system's +L function supports them. However, because the +C<':'> character has special meaning in I, it must +be escaped. For example: + + /bin/ls [[\:alpha\:]]* + +Would match any filename beginning with a letter. + Note that a forward slash ('/') will B be matched by wildcards used in the pathname. When matching the command line arguments, however, a slash B get matched by -- 2.40.0