use compiled regexs (restricting inputs) in KWS

* just use regex.pattern instead
Merge pull request #4058 from dmwm/fix_kws_dasmap_pattern

 fix to  use compiled das_map.pattern in KWS