Mega Code Archive

 
Categories / Ruby / Development
 

Match one of a group of characters within apattern

\s matches a white space character(space,tab, newline, and so on);  \d matches any digit \w matches any character that may appearin atypical word. .  matches any character.