Changed from .emacs to init.el. Added Perl like reg exp.