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.
As far as I know, this hasn't been documented elsewhere and since it is a very powerful way to modify your source or target segments, I'd like to share my findings here:
What you see here is a generic way to swap specified strings, in this case demonstrated with currency symbols (hence the names of the variables).
You can choose these names freely, best suited to your needs. Study the syntax, and save it somewhere (in TextExpander (!), Keyboard Maestro, AutoHotkey or just in a text document), for future reference.
Where:
name_one (name_two ...) is the name that you want to assign to a string (word etc.) that you want to find.
string_to_find_one (string_to_find_two ...) is the regular expression that matches the string (word etc.) name_one (name_two ...).
Replacement expression
${name_one}${name_two} ...
Note that the ... is used here to indicate that additional parts are possible and that it's not part of the expression.
Note also that the brackets < and > are needed.
There are many other candidates for use of this technique.
Change the order of two or more parts of an expression
Delete one or more parts of an expression
Add any string between any parts of an expression
Add any string at the start or end of any part(s) of an expression, including any punctuation character(s)*)
Where:
name_one (name_two ...) is the name that you want to assign to a string (word etc.) that you want to find.
string_to_find_one (string_to_find_two ...) is the regular expres... See more
I just noted that the info wasn't displayed correctly:
Where:
name_one (name_two ...) is the name that you want to assign to a string (word etc.) that you want to find.
string_to_find_one (string_to_find_two ...) is the regular expression that matches the string (word etc.) name_one (name_two ...).
Replacement expression
${name_one}${name_two} ...
Note that the ... is used here to indicate that additional parts are possible and that it's not part of the expression.
Note also that the brackets < and > are needed. ▲ Collapse
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Exclusive discount for ProZ.com users!
Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value
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