This is a bit related to a topic posted in 2018: Regex for target equals source in brackets
In there, the question was relating to how to create a check to detect when the content in brackets in the source is not identical in the target. For instance:
Source: Bill by Default [Label][Consultants].
Target: Cobrar por padrão [NotLabel][NotConsultants]
Xbench would detect this automatically as an error.
However, I am running checks with the solution posted there and I’m not getting exactly what I’m looking for. For instance, if there is a case in which only one of the brackets is correct, but the rest is incorrect, then Xbench considers it to be all correct.
I wanted to ask: Is there a way to create a check with Regex that detects when at least one of the target brackets is different from the ones in the source?
Source: Dear [First Name] [Last Name], you’ve won [PRIZE].
Target: Estimado/a [First Name] [Last Name], has ganado [UN PREMIO].
I would like Xbench to detect [UN PREMIO], even though the other brackets are correct.
Thanks in advance!