Changing the colon segmentation rule

Former Member
Former Member

I am new to Regex and am trying to change the existing colon rule in Trados/Groupshare 2017 so that it only breaks when a colon is followed by a hyphen/dash.

Here is an example of the kind of source text (German) I mean:

Technische Daten:

-Eingangsspannung: 100-240V 50/60 Hz

-Konstanter Strom: 700mA DC

So I've tried changing the existing colon rule to the following:

Before break = .[:]+

After break = [- –  —]

But something seems to be wrong - presumably my Regex - as it hasn't done the trick.

I hope one of you will be able to point me in the right direction :-)

Thanks in advance!

Rachel

Parents Reply
  • Hi

    Can you provide a small sample source file with just these bits of text in it, something like this:

    -Eingangsspannung: 100-240V 50/60 Hz
    Technische Daten: -some text in here presumably

    It sounds as though you must have a soft break after the colon in "Technische Daten:" or it is written as I showed above. Otherwise I don't understand why it doesn't break there already. But to create the exception it would be useful to see the file format and how it's actually written so we can test it.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children
No Data