A relatively common way to write a set that include a- character is to stick it at the end of the set, where it doesn't get parsed as a range, but instead as a literal-. CTRE currently fails to parse this. It does parse and work correctly if the- is manually escaped:"[\\w\\-]+"