Simplify a regular expression

The regex literal "\w" matches "_" .
This commit removes a ruby's warning "character class has duplicated range".