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