@FroggieDaFrog

Oh cool ... thanks for those examples smile

So would I be correct in saying that, for my use, this would be the correct syntax?

Code:
elseif ($regex($strip($1-), /\b\Q $+ $safeRegex($ini($scriptdirHighlights.ini,%highlightword),32)) $+ \E\b/i)) {
  ;; matches "word" as a whole word only (can be preceded or followed by punctuation)
}