Quote:
Originally Posted by macropod
Simply omitting the "\(" and "\)" is sufficient for the Find, but the highlighted line depends on the presence of '|' characters, which are inserted by the preceding line:
Code:
StrTmp = Replace(Replace(Replace(.Text, " (", "("), "(", "|"), ")", "")
In any event, that change is liable to result is far more false matches.
|
So if I were to test the results with the search looking for all matches (without parenthesis), I would have to add the '|' characters to each of the found acronyms? That's what the replace line is doing, right?
Quote:
Originally Posted by macropod
That's because it was assumed that strings such as 'parts list' might be intentional non-uses of the defined term. You can alter the behaviour by changing:
.MatchCase = True
to:
.MatchCase = False
|
That change has a side effect of replacing the first instance of the acronym to all uppercase letters definition, so the first instance looks like: PARTS LIST (PL). Would you be aware of something to go around it?