in reply to
Organising lots of simple regexes
I think you want \B, not \W. Can't see why you'd want to actually remove a character as \W does. (\B will be equivalent to (?!\w) there).
Comment on
Re: Organising lots of simple regexes
In Section
Seekers of Perl Wisdom