Regex/QA Checker 3.0
Thread poster: Lenart
Lenart  Identity Verified
Luxembourg
Local time: 23:32
Oct 1

Hello,

I would like Regex to show me error every time the source contains word „ ce “ except when it contains words „que ce soit“ and „en ce qui concerne“.

I would appreciate your help,

thank you!


Direct link Reply with quote
 
jkmsff
Local time: 23:32
One possible regex ... Oct 7

Maybe this regex helps. It uses negative lookbehind and negative lookahead to exclude certain words words before and after "ce".

It's not perfect though -- it won't match "ce" in "que ce qui concerne" and "en ce soit", but my limited French language skills tell me these phrases aren't likely to occur.

(?<!(en))(?<!(que)) ce (?!(qui concerne))(?!(soit))

[Edited at 2017-10-07 11:31 GMT]


Direct link Reply with quote
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Regex/QA Checker 3.0

Advanced search







CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use SDL Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

More info »
SDL Trados Studio 2017 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2017 helps translators increase translation productivity whilst ensuring quality. Combining translation memory, terminology management and machine translation in one simple and easy-to-use environment.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search