Core: Reimplemeted quote syntax for the dollar parser using regexps. It is much better now.