What is the difference between single quotes and double quotes?

Single quoted strings will display things almost completely "as is." Variables and most escape sequences will not be interpreted. Double quote strings will display a host of escaped characters (including some regexes), and variables in the strings will be evaluated.