Jethro commented on a Page, Acronyms with switch  -  Mar 08, 2011

Why didn't you post the whole regex? When you posted it partially, it gave me a false impression that (?![[:punct:]\d+]) is the pattern you were gonna use.

You could simply use (?!.) the dot matches literally everything. The word boundary in the end is not necessary if you use a dot.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.