Merge pull request #48 from williampma/dollar_sign_matcher_fix

Dollar sign matcher fix + New method for regular expression check
Merge pull request #61 from ruiting/ruiting

Merge pull request #48 from williampma/dollar_sign_matcher_fix