search for: reg_newline

Displaying 4 results from an estimated 4 matches for "reg_newline".

2009 Aug 25
0
[LLVMdev] Regular Expression lib support
...when you call it at offset > 0 you want notbol=true. Ditto for noteol, when the portion of string passed to matches() doesn't contain the real end of the string. If we are always passing the entire string we intend to match to matches() then we can remove those bools. This is the manpage: REG_NEWLINE "Compile for newline-sensitive matching. By default, newline is a completely ordinary character with no special meaning in either REs or strings. With this flag,. [^ bracket expressions and . never match newline, a ^ achor matches the null string after any newline in the string in addition to...
2009 Aug 25
6
[LLVMdev] Regular Expression lib support
Woot! Thanks a bunch Edwin! Some comments on the patch: -- I'm not sure if it makes sense to import the man pages, if we only expose Regex.h. > diff --git a/include/llvm/Support/Regex.h b/include/llvm/Support/Regex.h > new file mode 100644 > index 0000000..314bff4 > --- /dev/null > +++ b/include/llvm/Support/Regex.h > @@ -0,0 +1,49 @@ > +//===-- Regex.h - Regular
2002 Nov 11
0
Regular Expression support
...optionsString[0]='\0'; + optionsString++; + if(strchr(optionsString,'e')) options += REG_EXTENDED; + if(strchr(optionsString,'i')) options += REG_ICASE; + if(strchr(optionsString,'m')) options += REG_NEWLINE; // This option is not usefull when matching strings without any newlines + if(strchr(optionsString,'s')) options += REG_NOSUB; // This option is not usefull when matching strings without any newlines + } + }else{ + modifiedPattern=s...
2013 Jul 15
21
[PATCH 00 of 21 RESEND] blktap3/drivers: Introduce tapdisk server.
This patch series copies the core of the tapdisk process from blktap2, with updates coming from blktap2.5. Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>