If this feedback is not in the right place I apologise and welcome guidance.
I have found that if there is a word in the text that is in the array of words to check for but is not preceeded by qualifying word, but the next word is also in the array list and is correctly proceeded by its qualifier, the result is not highlighted. (v3.3.2)
I believe the function;
function replace_callback( $matches )
needs to set
$this->previous_word = $word;
and
$this->previous_lword = $lword;
when the condition
// We do not have the required previous word
is true.
e.g.
network;area;;some_WAN_url
file;network;;some_filestorage_url
my small network file
should produce a link for "network file" but it does not as the code says "small" from the previous process is not a match
Could improvements to this plugin be considered?
ok, we'll check that.