ONE CHAR MATCHES: 'c' Matches the character c. '.' Matches any character. '[abc]' Matches one of the characters a, b or c. '[^ab]' Matches any character _but_ a or b. MULTIPLE CHAR MATCHES: ( 'c' can be any of the one char matches. ) 'c*' Matches a sequence of zero or more of the character c. 'c+' Matches a sequence of one or more of the character c. MISC '^' Matches the beginning of the string. '$' Matches the end of the string.
More information can be found in the unix or emacs documentation.