diff --git a/languages/bash.sh b/languages/bash.sh index 769c31d..180f917 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -259,6 +259,17 @@ $(UNIX command) # command substitution: runs the command and return typeset -l # makes variable local - must be an interger +######################### +# POSIX Character Classes +######################### + +[:alnum:] # Alphanumeric characters +[:alpha:] # Alphabetic characters +[:digit:] # Numerals +[:upper:] # Uppercase alphabetic characters +[:lower:] # Lowercase alphabetic characters +[!characters] # Matches any character that is not a member of the set characters + ############################################################################## # FUNCTIONS ##############################################################################