Does Find/Replace have a problem with lookarounds?

Although the term is matched correctly, the “Replace with” string seems to have been ignored even though a replacement was made (the segment status has changed, but the target string remains unchanged.

Regex: (left|right)(?= side)
Replace:  $1-hand

RegexBuddy and RegexHero have no problem

The "equivalent" replace without lookahead is OK.

Regex: (left|right)( side)
Replace:  $1-hand$2

Trados Studio screenshot showing a correctly matched term but the 'Replace with' string is ignored. Segment status changed, target string unchanged.PDF



Generated Image Alt-Text
[edited by: Trados AI at 4:37 AM (GMT 0) on 5 Mar 2024]
emoji
Parents Reply Children