[os_regex] set \W as the inverse of \w

see #199