Suggestions for Regex QA check: Verb "click" must be followed by preposition "on"

Hello,

Disclaimer: I'm a beginner where Regex is concerned, so apologies if this is a silly question!

I'd like to set up a Regex QA check to flag up target segments where I've forgotten to use the preposition "on" after the verb "click".

The best I've come up with is to enter Click [^o] in the RegEx target box, with "Report if target matches (target check only)" as the condition. But obviously this is case sensitive and doesn't cover "clicks", "clicking", "clicked".

Does anyone have any suggestions for a more "comprehensive" rule that would save me entering all the different variants (click, Click, CLICK, clicking, Clicking, CLICKING and so on and so on...!)?

Thanks,

Hayley

Parents
  • I'd like to set up a Regex QA check to flag up target segments where I've forgotten to use the preposition "on" after the verb "click".

    If this isn't translated then check to see if the source finds this:

    (?i)click[^\s]*\son

    Then check to see if the target finds the same thing.

    Paul Filkin | RWS

    Design your own training!
    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Would you say in English "click on something"? This is new to me, as I always understood it should be "click something". Click the button, not "Clickon the button". This has nothing to do with the regex in question here, is just my pure curiosity to learn English better. So forgive for kidnapping your topic, but it is always good to learn something... Thanks Slight smile

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

  • You can say both. Naturally I would say/write "Click something" too, hence the interest in flagging up segments for this particular client who insists on the preposition! But as I said to Paul, I was partly just playing around with RegEx to try and understand more about how it works.

  • @Hayley: thank you for your kind answer. It is really important to me as a non-native English speaker with English as not working language. It helps greatly to improve.

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

Reply
  • @Hayley: thank you for your kind answer. It is really important to me as a non-native English speaker with English as not working language. It helps greatly to improve.

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

Children
No Data