Note: groups.io will be down for maintenance on Wednesday, October 5th, starting at 9AM Pacific Time (4PM Wednesday October 5, 2022 UTC), for approximately one hour.
On Wed, Dec 16, 2020 at 01:36 AM, Tony Malykh wrote:
Although I cannot easily think of a case "in a typical document" where this would snag something and make it silent, I'd imagine it could happen for large number values that include comma separation, e.g., 10,455,342.05. That regex should match the ",455," part of that number, which could prove very problematic.
The only reason I mention this is if that regex is working perfectly when you're working with the document you need it for, you will want to remove it from the dictionary afterward. Take it from someone who's been bitten in the posterior by having left things in the speech dictionary that I put there for testing purposes, and that later came into play where they were never intended to, making the screen reader output either incomprehensible or where it was omitting key information.
The "simpler" the regex the more likely it is to eventually capture something you really never intended for it to capture. That doesn't mean they shouldn't be used when convenient, but you need to remember to "clean up after you're finished" so they don't come back to bite you in the posterior later.
Brian - Windows 10 Pro, 64-Bit, Version 20H2, Build 19042
[Regarding the Supreme Court refusing to hear the case brought by Texas to overturn the votes certified by 4 states:] Pleased with the SCOTUS ruling, but also immediately slightly terrified of where this crazy train goes next. We should know by now there’s a bottomless supply of crazy.
~ Brendan Buck, former adviser to Speakers of the House Paul Ryan and John Boehner