Forum: Transit support
Topic: Add a character to the end of every segment (regex)
Poster: oerjan
After I finishing a translation I need to add a character to the end of certain segments.
I start by filtering so that only the segments that need to be edited are shown. Then I use Search&Replace with regex to select the segments one by one.
My problem is that regardless of what regex string I use
- either trying to select the entire segment with .* or ^.+$ or ^&$ or ^&\o or (mind you, the backslash before o is neither shown here)
- only the endpart with e.g. .\o or .$ (nor here)
and regardless of whether I put the entire or part of the expression in brackets #(expression)0 or not
I´m not able to replace the found selection with anything.
Therefore I´m of course neither able to add any character to the end of the found segment.
I have the feeling that including the segment border somehow hinders the replacement function. I have even tried to deselect the tag protection, but it does not help.
Is there a solution to this?
Thanks in advance
Örjan
Topic: Add a character to the end of every segment (regex)
Poster: oerjan
After I finishing a translation I need to add a character to the end of certain segments.
I start by filtering so that only the segments that need to be edited are shown. Then I use Search&Replace with regex to select the segments one by one.
My problem is that regardless of what regex string I use
- either trying to select the entire segment with .* or ^.+$ or ^&$ or ^&\o or (mind you, the backslash before o is neither shown here)
- only the endpart with e.g. .\o or .$ (nor here)
and regardless of whether I put the entire or part of the expression in brackets #(expression)0 or not
I´m not able to replace the found selection with anything.
Therefore I´m of course neither able to add any character to the end of the found segment.
I have the feeling that including the segment border somehow hinders the replacement function. I have even tried to deselect the tag protection, but it does not help.
Is there a solution to this?
Thanks in advance
Örjan