Quantcast
Channel: ProZ.com Translation Forums
Viewing all articles
Browse latest Browse all 8083

Validating expressions as Do Not Translate | Did you run regex?

$
0
0
Forum: MemoQ support
Topic: Validating expressions as Do Not Translate
Poster: Mirko Mainardi
Post title: Did you run regex?

[quote]Omer Shani wrote:

Thank you Stanislav & Anthony

Well, I implied the expression in the Auto-Translaion corpora, and previewed it, but when testing it on real (after attaching it to the project, of course) I didn't see any suggestion from memoQ about it

Maybe I missed something?[/quote]

Usually I apply regex expressions either during import or after, through Preparation > Regex Tagger. This way you can define a new expression/set of expressions and apply it to an already imported document. Just follow Stanislav's instructions to the letter.

[quote]
The regex I used is: {{A-Za-z_A-Za-z.+}}

The source segment is {{first_name}}....
[/quote]

"{{A-Za-z_A-Za-z.+}}" is not a valid regular expression, AFAIK. Use " \{[A-Za-z_.]+\}", as Stanislav suggested. Personally, I think I'd go with an even simpler \{.+\}, which should catch everything and anything between curly brackets (as you wrote "{First_Name} and alike").

Viewing all articles
Browse latest Browse all 8083

Trending Articles