onMisspelledWord()
The function is called when generating the misspelled word message. It's called for each word that can potentially be included in the message.
•$omw_exclude - set to true to exclude the word or false to include the word in the misspelled word message; the default is false
•$omw_word - the word under consideration
// exclude words ending in ".com" (case-insensitive)
function onMisspelledWord() {
if matchRegEx("\.com$",1,$omw_word) { $omw_exclude=true; }
}