Improved regexs in PM class.
In future can use \h.