The function is called when generating the repeated word message. It's called for each word that can potentially be included in the message.

$orw_exclude - set to true to exclude the word or false to include the word in the misspelled word message; the default is false

$orw_word - the word under consideration

This function is supported by CSE HTML Validator v12.0012 and later.


// exclude these words: too, big
function onRepeatedWord() {
 if matchNoCase($orw_word,"too","big") { $orw_exclude=true; }