Added support for named patterns.

You can put named patterns in the dictionary "named_patterns" in
the settings file. This can make it easier to remember complex patters.
Merge pull request #1 from svenax/master

Added support for named patterns