rewrite regexes in canonpath

[] where used to group chars, but these let the STD.pm6 parser fail.
The regex rules are more readable now though.