Add '-', '_' and '|' to the matching regex.