Used for modifying of a text source using of regular expressions. Deleting, inserting and replacing of the data defined on regular expression given by the user are possible.
Source
Set text source, which is used to modify data.
Method
Comparing methods. Match return True if the whole string matches the given pattern. Search tries to find a substring that matches the pattern.
Expression
Set regular expression.
Text Action
Set up action, made with retrieved data. The following actions are possible:
Delete Results
Deleting of the retrieved data.
Insert Text Before Results
Inserting of the given text in front of the retrieved data.
Replace Results
Replacement of the retrieved block with the given text.
Insert Text After Results
Inserting of the given text after the retrieved block.
New Text Strings
Set up the texts, used while action is executed.
Process All Matches
Enables modification of the all retrieved data, otherwise only the first data, satisfying regular expression will be modified.
Result not Begin of Line
When this flag is set then result does not represent the start of a new line.
Result not End of Line
When this flag is set then result does not represent the end of a line.
Result not Begin of Word
When this flag is set then result can never match the start of a word.
Result not End of Word
When this flag is set then result can never match the end of a word.
Dot not Match Newline
Specifies that the expression "." does not match a newline character. This is the inverse of Perl's /s modifier.
Dot not Match Null
Specifies that the expression "." does not match a character null '\0'.
Match Any Results
Specifies that if more than one match is possible then any match is an acceptable result: this will still find the leftmost match, but may not find the "best" match at that position. Use this flag if you care about the speed of matching, but don't care what was matched (only whether there is one or not).
Match Partial Results
Specifies that if no match can be found, then it is acceptable to return a match [from, last) such that from!= last, if there could exist some longer sequence of characters [from,to) of which [from,last) is a prefix, and which would result in a full match. This flag is used when matching incomplete or very long texts.
Match Single Line
Equivalent to the inverse of Perl's /m modifier; prevents ^ from matching after an embedded newline character (so that it only matches at the start of the text being matched), and $ from matching before an embedded newline (so that it only matches at the end of the text being matched).
Ignore Case
Disable case-sensitive search
Use Locale Specific Collation
See also