Regular Expressions
Thread poster: Val1
Val1
Croatia
Mar 31, 2015

Hey guys,

if I want to QA check some abbreviations, for example that for "DE" (for Germany) there is also "DE" in the translation, how would you do that?

I have so far:

Source: \bDE\b
Target: \bDE\b
Condition: Report if source matches but not target
Ignore case unticked.

But I presume this will be problematic? For example, it will report an error if there e.g. "DECIDE" in original, and there is no "DE" letter combination in the translation? How do I have it check "DE" only if it is a word in itself? That can be followed/preceeded by interpunction/spaces or stand on its own, but not by letters or numbers for instance.

Thanks a lot!


Direct link Reply with quote
 
FarkasAndras
Local time: 16:08
English to Hungarian
+ ...
\b Mar 31, 2015

You have already done that with the \b. That stands for "word boundary". \bDE\b will match " DE." or "-DE-" but it will not match DECISION. It will probably not match "2DE3" either, but you can probably live with that.

Direct link Reply with quote
 
Val1
Croatia
TOPIC STARTER
Regex Mar 31, 2015

Nice! Thanks a lot!

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 »

Regular Expressions

Advanced search







TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
LSP.expert
You’re a freelance translator? LSP.expert helps you manage your daily translation jobs. It’s easy, fast and secure.

How about you start tracking translation jobs and sending invoices in minutes? You can also manage your clients and generate reports about your business activities. So you always keep a clear view on your planning, AND you get a free 30 day trial period!

More info »



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