RegEx to identify unpaired parentheses (open but not closed) in target during QA

Hi everyone!

I don't know if it's possible to do what I want during QA. I'm trying to find unpaired parentheses, but only in the target.

Example: The sly fox (paragraph 5.3 went after the slow hare.

I did a couple of searches to test regex strings that I came up with, but ended up with too many false positives. These showed up, for example, every time that the source had parentheses and the target didn't.

I also tried using “check brackets” under punctuation in the QA Checker (so it wouldn't need regex). But that also gave the same false positives (the source had parentheses and the target didn't), as well as false positives when I had added parentheses of my own in the target.

Thanks in advance for your help!

best,

Becky

(I'm using Trados Studio 2022)

emoji
Parents Reply
  • Hi dear Paul!

    Thanks so much for your help! The expression for unpaired opening parentheses works, since it did find them. 

    It also finds some false positives, such as when parentheses are nested within each other but paired correctly. For example: Find your grade (paragraph (b) and (d) in here) where it goes.

    I don't think that's a huge problem, since it would just make me double-check the parenths in those segments.

    As far as the unpaired closing, I don't think that the regex works all the time. But it's not as essential as the unpaired open. I think that's a more obvious mistake when I'm reviewing text visually. 

    As always, thanks so much for your help!

    best,

    Becky

    emoji
Children
No Data