Allow dollar($) and caret(^) for inline patterns

This makes sure that it is possible to use all ascii symbols for inline patterns including the dollar ($) and caret (^) symbol. Especially dollar is usefull, as (La)TeX uses dollar ($) for math sections.
Merge pull request #154 from kasperpeulen/patch-1

Allow dollar($) and caret(^) for inline patterns