id: tregexoptions title: TRegExOptions
Specifies options used when performing searches.
Field onlyPatternOptions:Int = FalseIgnore other options and use only the pattern's options, like case sensitivity, etc.
Field caseSensitive:Int = FalseWhether matches are case sensitive.
Field dotMatchAll:Int = FalseAllow dot (period) to match new lines as well as everything else.
False indicates dot doesn't match new lines.
Field greedy:Int = TrueGreedy matches everything from the beginning of the first delimeter to the end of the last delimiter, and everything in between.
Field lineEndType:Int = 0Determines how new lines are interpreted.
Field matchEmpty:Int = TrueAllow patterns to match empty strings.
Field stringIsLineBeginning:Int = TrueCount the beginning of a string as the beginning of a line.
Field stringIsLineEnding:Int = TrueCount the end of a string as the end of a line.
Field targetIsMultiline:Int = TrueMatches internal new lines against ^ and $.
Set to false to ignore internal new lines.
Field dollarEndOnly:Int = FalseDollar ($) matches newline at end.
Set to True for dollar to only match the end of the string, otherwise matches a newline before the end of the string.
Field extended:Int = FalseIgnore whitespace and # comments.
When set to True, whitespace in the pattern (other than in a character class) and
characters between a # outside a character class and the next newline are ignored.
An escaping backslash can be used to include a whitespace or # character as part of the pattern.
Field jitComplete:Int = FalseCompile code for full matching.
When set to True, the JIT compiler is enabled.
Field jitPartialSoft:Int = FalseCompile code For soft partial matching.
When set to True, the JIT compiler is enabled.
Field jitPartialHard:Int = FalseCompile code for hard partial matching.
When set to True, the JIT compiler is enabled.