mltony / nvda-phonetic-punctuation

Phonetic punctuation is an NVDA add-on that allows to convert punctuation signs into audio icons. It can also convert any regular expressions into audio icons.
GNU General Public License v2.0
12 stars 5 forks source link

Maybe some expresions are ignored? #2

Open aefren opened 4 years ago

aefren commented 4 years ago

Hello. I have been working well the addon filtering only symbol (. , ! = + - [] {}) etx and is great for faster navigation, specially to code. But i have created some sound for words or even for phrases. and here the problems started.

Adding this to create sound to a "tree view" type for example: ^tree view$ both pauses field at 0 and test for sound working. When go to TWBlue or windows explorer trees Stops saying "tree view" but still not plays any sound.

Could it be a bug? I'm not sure because i've never worked with regular expresions and also could be my fault. Some other word working fine, but others not.

mltony commented 4 years ago

You need to make sure that your string matches exactly what is being sent to the synthesizer. You can check the exact strings in speech viewer. Make sure that you match the case (capital letters), spaces (Should it be TreeView or Tree View?) and beginning and end of strings markers. For testing, just remove ^ and $ from your regexp.