In 2022 SR1, Regex's Negative Lookbehind does not work

Hi dears,

When translating a patent specification, I use the "Negative Lookbehind" of the regular expression in the "Find and Replace" window provided by the edit view of trados studio to perform a find and enclose the found result in parentheses. A simplified example of the regex I'm using is "(?<!step|\s도)\s([0-9]{2.4})" as what to look for and "($1)" as what to replace.

However, after updating to 2022 SR1, the above regular expression pattern is found but not replaced.

Please check this.

emoji
Parents Reply Children
  •  

    I also added your example to the dev notes so we'll be double certain we fix it for you too.  In the meantime I also created a workaround you may find useful if it works for your sample text... it's helpful when you provide one!

    (\b\d\b) (\w+)|(\d{3}-\d{3}-\d{4})([,.])

    $1 $2$3$4

    Doesn't use a lookaround and might solve the issue for you with this particular problem.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji