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. With this change, someone could easily extend markdown so that recognizes LaTeX math sections (for mathax support).