Thanks a lot!
Unfortunately, this is not the last of my woes
During conversion, I'm inserting soft hyphen code (Unicode U+00AD) into all words to provide hyphenation. This prevents your code from recognizing any alias. It would be perfect if you coud add ignoring soft hyphens at the scanning step.