"Insert match" missing in Studio regex syntax Thread poster: FarkasAndras
|
There is a small issue I mentioned in passing a couple of times and got no info, so here it is in a thread of its own: does the Studio regex syntax have an "insert match" feature? All the documentation says is that Studio uses .NET regex syntax; .NET of course does have this feature, but the .NET expression doesn't work in Studio. Here's how insert match works and why it's important: You tell the regex engine to remember all, pa... See more There is a small issue I mentioned in passing a couple of times and got no info, so here it is in a thread of its own: does the Studio regex syntax have an "insert match" feature? All the documentation says is that Studio uses .NET regex syntax; .NET of course does have this feature, but the .NET expression doesn't work in Studio. Here's how insert match works and why it's important: You tell the regex engine to remember all, part, or several parts of the expression that is matched, and then use numbered references to insert them back in a search and replace operation. Parentheses are usually used for capturing, and \1, \2, \3 or $1, $2, $3 for insertion. This allows you to replace, for instance, ([0-9]),([0-9]{3}) with \1 \2 in order to change the grouping separator in numbers from a comma to a space. There are of course a million other uses for this feature. You can use it to autoconvert dates, times etc. So, did SDL forget to include this feature? ▲ Collapse | | | Tomas Gradin Sweden Local time: 15:27 English to Swedish + ... I miss it too | Nov 30, 2011 |
As an IT guy by profession (when not doing translations) I sourly miss this function in the search/replace of Trados Studio. Its usefulness cannot be overstated. | | | FarkasAndras Local time: 15:27 English to Hungarian + ... TOPIC STARTER |
We've also learnt the importance and usefullness of regular expressions during the years and really miss some regex features in Studio 2009. Clients still love to use prorietary formats in their systems which leads to having 5 different file formats used in one file. Regular expressions are a huge help in these situations, especially when creating custom file types. With regular expressions you can really optimize your leverage when migrating from T2007 to T2009 and/or between... See more We've also learnt the importance and usefullness of regular expressions during the years and really miss some regex features in Studio 2009. Clients still love to use prorietary formats in their systems which leads to having 5 different file formats used in one file. Regular expressions are a huge help in these situations, especially when creating custom file types. With regular expressions you can really optimize your leverage when migrating from T2007 to T2009 and/or between different file types. ▲ Collapse | |
|
|
Tomas Gradin Sweden Local time: 15:27 English to Swedish + ... Missing from 2011 too | Dec 1, 2011 |
FarkasAndras wrote: By now it has become evident that the feature is indeed missing from T2009. It may have been introduced in T2011, but I would be surprised. I have 2011 too and I can confirm that it's missing from that too... | | | To report site rules violations or get help, contact a site moderator: You can also contact site staff by submitting a support request » "Insert match" missing in Studio regex syntax 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 » |
| Anycount & Translation Office 3000 | Translation Office 3000
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.
More info » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |