match.c: Allow brackets, ~  and / in nicks but not at their start