Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The search and replace window can be opened by selection selecting the Search and Replace option from the segment grid column header menu, or via translate5 shortcuts:-

  • ctrl+f - open search and replace window with focus on the search tab

...

  • ctrl+h - open search and replace window with focus on the replace tab

Options/Controls


  • Search for: use Use this field to enter the text string for which that you want to search for. Either enter the full word or search for a partial string.


  • Replace: use Use this field to enter the replacement text string. The text entered text  will completely replace the resulting text string found through the Search for entry and defined options(attention when using wildcards or regular expressions!!!)


  • Search in: use Use this field to define on which translate5 column the search will be performed. In the replace tab only the editable columns are available.


  • Match case: enable Enable this option to perform a case-sensitive search, meaning the target found text must match the case of the search text entered into the Search for field. This option has no bearing on the replacement text, which simply follows the case used for the text entered into the Replace With field.


  • Search towards the top: navigate Navigate towards the top of the segment grid when changing jumping to the next match occurrence


  • Use for search:
    • Normal search:
    match
    •  Match the
    search
    • string given in the Search
    for
    • field
    • Wildcards:
    the
    •  The string can contain the wildcard
    characters
    • characters 
      • ? (single character)
    and
      •  
      • * (any group of characters)
    • Regular expression:
    the
    •  The search string is
    considered
    • interpreted as a MySQL regular expression, except some regular
    expression (there can be some regula expression sintax which is not supported by translate5. Contact the translate5 support team for more info)
    • expressions, that are black-listed for technical reasons.
      • Please see the MySQL regular expression documentation for details on how to use regular expressions
      • The following table illustrates some commonly used metacharacters and constructs in a regular expression, that are allowed to use in translate5:

        MetacharacterBehavior
        ^matches the position at the beginning of the searched string
        $matches the position at the end of the searched string
        […]matches any character specified inside the square brackets
        [^…]matches any character not specified inside the square brackets
        *matches the preceding character zero or more times
        +matches preceding character one or more times
        {n}matches n number of instances of the preceding character
        {m,n}matches from m to n number of instances of the preceding character
        |matches string "a" or string "b" divided with the separator

         

      • The following list contains the regular expressions and regular expressions, which are not supported by translate5, because they are black-listed:

        RegexDescription
        \nCharacter escape
        \rCharacter escape
        \tCharacter escape
        \fCharacter escape
        \vCharacter escape
        \0NULL escape
        \1 or \2 etc.Octal escape (Any character with a character code lower than 256 ex: \251)
        \^ or \] or \- or \\\ (backslash) followed by any of ^-]\
        \bjavascript: [\b\t] matches a backspace or a tab character.
        \Bjavascript: \B. matches b, c, e, and f in abc def
        \dShorthand Character Classes
        \DShorthand Character Classes
        \sShorthand Character Classes
        \SShorthand Character Classes
        \wShorthand Character Classes
        \WShorthand Character Classes
        \hShorthand Character Classes
        ??e. g. a regular expression like abc?? is not supported.
        *?
        +?
        OTHERSOther regular expressions, that are similar to the listed expressions are also not supported. The front-end of translate5 will tell you, if a regex is not supported. Please contact translate5 lead development at MittagQI, if you have more questions about this.


  • Save segment on close: if If checked (by default yes), the segment will be saved when is closed via search navigation

...


  • Search on locked segments: If checked, segments that are locked for editing are searched, too.