fix dash recognition in %<a regex