| ^ | Match the beginning of the string only. |
| $ | Match the end of the string. |
| . | Match any single character, including a space or return character. |
| [...] | Match any character appearing between the brackets. |
| [^...] | Match any character not appearing between the brackets. |
| e* | Match zero or more instances of pattern element e. |
| e+ | Match one or more instances of pattern element e. |
| e? | Match zero or one instances of pattern element e. |
| e|f | Match pattern element e or pattern element f. |
| e{m} | Match m instances of pattern element e. |
| e{m,} | Match m or more instances of pattern element e. |
| e{,n} | Match zero to n instances of pattern element e. |
| e{m,n} | Match m to n instances of pattern element e. |
| (...) | Group pattern elements into a single element. |
| other | All other characters match themselves. |