Hi, I would need your help. Yesterday I was preparing a Word doc with some variables between curly brackets. So, I created a rule to capture everything included in those brackets, namely this one \{.*\}
However, it does capture everything except one variable. This variable has a comment in it and I suppose this may be the reason.
Please see an example with a screenshot attached.
This the the sample text I have used to repro the issue:
I do not want {segment truncated}.
I want {segment a}.
I want {segment b}.
I want {segment c}.
In my example I have added a comment on the word "truncated" of the variable. Do you know why this happens and what could be a workaround without accepting or deleting the comments from the file?
Generated Image Alt-Text
[edited by: Trados AI at 4:38 AM (GMT 0) on 5 Mar 2024]