This site uses cookies.
Some of these cookies are essential to the operation of the site,
while others help to improve your experience by providing insights into how the site is being used.
For more information, please see the ProZ.com privacy policy.
Omer Shani Israel Local time: 11:15 Member (2012) English to Hebrew + ...
Oct 28, 2020
Hi There I have several software files to import with several regex characters as curly brackets etc. Two of them are %d & %s (i.e: %d days, %s ago, etc)
Is there a regex tagger we can use to filter those out?
Thanks in advance
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
You can try the different standard filters available for this purpose in memoQ.
When you import the files, use the Import with Options feature, choose the files, and then choose the filter select all of them in the Document Import Options dialog, choose Change Filter & Configuration. In the Document Import Settings dialog box, you have a list of possible filters at the top. If any of them matches the nature of your files, you can try with those. Otherwise... See more
You can try the different standard filters available for this purpose in memoQ.
When you import the files, use the Import with Options feature, choose the files, and then choose the filter select all of them in the Document Import Options dialog, choose Change Filter & Configuration. In the Document Import Settings dialog box, you have a list of possible filters at the top. If any of them matches the nature of your files, you can try with those. Otherwise, try with the RegEx filter, which usually imports nicely.
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Omer Shani Israel Local time: 11:15 Member (2012) English to Hebrew + ...
TOPIC STARTER
Regex tagger for %d & %s
Oct 28, 2020
Hi Tomás
Thank you for your swift reply!
We are familiar with the import process as you've been describing and we some save cascading filters on our own.
But when we try to set a new one for those, they all come up too "greedy" and do not apply solely on the %d and the %s variables.
I'll be happy to learn if you can share a regex for those so we can apply in memoQ
BR
Omer
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Shouguang Cao China Local time: 16:15 English to Chinese + ...
Not sure of the question
Oct 29, 2020
I know it's sometimes hard to ask a technical question.
If you want to match % and then follow with one lower case letter, you could do %[a-z]
or
%\w for any letter.
Omer Shani
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Stepan Konev Russian Federation Local time: 11:15 English to Russian
Minor addition
Oct 29, 2020
If you have some variables like %dsdsds, or %dd, or %ss, etc. you can use %\w\b where \b denotes the end of a word. This will limit your regex search to a 'word' consisting of % and any 1 letter only.
[Edited at 2020-10-29 19:28 GMT]
Omer Shani
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Translate faster & easier, using a sophisticated CAT tool built by a translator / developer.
Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools.
Download and start using CafeTran Espresso -- for free
Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.