PDA

View Full Version : Question on autolinking abbreviations


KenDude
01-22-2008, 04:21 PM
I'd like to autolink to the abbreviation "SC", but only when SC is preceeded by and followed by a space. In other words autlink SC but NOT SChool or SCript or any other word with SC in it. If I just put SC in the config will it only link to SC by itself or do i need to put it in quotes or something to prevent linking in words like school script scion etc?

Morgan
01-22-2008, 07:53 PM
With the 'standard' regular expression, only keywords preceded and followed by a word boundary would get linked, so cat would match cat but not catch and not scat and not scatter.

KenDude
01-22-2008, 10:01 PM
Got it, thanks! The one exception I found was SC is different from SCorpion but not different from SC-IV, the dash is treated as a word boundary I guess, not a biggie for me.