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:
Search mode: Regular Expressions
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
price_data are not.
Is there a way to make sure all missing keywords on the target text are detected?