Hi,
I have to make sure all words delimited by backquotes (keywords) on the source text exist in the target text. This is a sample source text:
Either `unit_amount` or `unit_amount_decimal` must be provided inside `price_data`.
Valid characters for each keyword are a-z, 0-9 and _ (underscore). Each sentence can have 0 to n keywords (so far, up to 6). The target text should have all keywords form the source text.
I’m trying to check that using regular expressions:
Source: “(<`([a-z]%|[0-9]|_)*`>)=1”
Target: -"(@1)"
Search mode: Regular Expressions
PowerSearch: On
But this works only with the first keyword of the sentence. In the example above, a missing unit_amount
in the target text is detected, but missing unit_amount_decimal
or price_data
are not.
Is there a way to make sure all missing keywords on the target text are detected?
Thanks!
KS