That is because, regular expressions are using characters that can also be interpreted by the shell. To avoid any problems because of misinterpretation - use single quotes.