crosmodel.blogg.se

Xojo deutsch
Xojo deutsch














SubExpressionString(0) returns the whole regex match, while SubExpressionString(1) through SubExpressionString(SubExpressionCount-1) return the matches of the capturing group. SubExpressionStartB returns the byte offset of the start of the match of the whole regex or one of the capturing groups depending on the numeric index you pass as a parameter to the property. Set CaseSensitive (False by default) to True to treat uppercase and lowercase letters as different characters.The RegExOptions class has nine properties to set various options for your regular expression. Set DotMatchAll (False by default) to True to make the dot match all characters, including line break characters.This option is the inverse of “case insensitive mode” or /i in other programming languages. Set Greedy (True by default) to False if you want quantifiers to be lazy, effectively making.This option is the equivalent of “single line mode” or /s in other programming languages. I strongly recommend against setting Greedy to False. This way, somebody reading your source code will clearly see when you’re using greedy quantifiers and when you’re using lazy quantifiers when they look only at the regular expression. The LineEndType option is the only one that takes an Integer instead of a Boolean.This option affect which character the caret and dollar treat as the “end of line” character. The default is 0, which accepts both \r and \n as end-of-line characters. Set it to 1 to use auto-detect the host platform, and use \n when your application runs on Windows and Linux, and \r when it runs on a Mac.

#Xojo deutsch for mac

Set it to 2 for Mac (\r), 3 for Windows (\n) and 4 for UNIX (\n).

xojo deutsch

I recommend you leave this option as zero, which is most likely to give you the results you intended. This option is actually a modification to the PCRE library made in Xojo. PCRE supports only option 4, which often confuses Windows developers since it causes test $ to fail against test\r\n as Windows uses \r\n for line breaks.














Xojo deutsch