Re: regular expression and speech dic


 

William,

          First, try the regular expression for the match:     (lv\s*)([0-9]+)
with the same substitution:  level \2

          If that does not work, then please provide at least 5 examples of strings that should be matched, including ones with Chinese characters if those are to be matched, and I'll have to figure out the refinements.
--

Brian - Windows 10 Home, 64-Bit, Version 1803, Build 17134  

    A little kindness from person to person is better than a vast love for all humankind.

           ~ Richard Dehmel

 

 

Join nvda@nvda.groups.io to automatically receive all group messages.