fix regexp warning: character class has duplicated range

`\w` already matches underscore