Issue #75

Fix so regexp works for custom tags
Merge pull request #76 from thenanox/master

Fix RegExp problem. check #75  Redundant "g" config for regex.