Make toggling tags case-insensitive

Also, just use a regex to avoid splitting and joining.

fixes #181