search for: noteol

Displaying 7 results from an estimated 7 matches for "noteol".

Did you mean: notbol
2009 Aug 27
2
[LLVMdev] Regular Expression lib support
...VM? Maybe? If its already there and we are fine using this version of the lib always then we might as well include it. >>> +    // notbol: The match-beginning-of-line operator always fails to match, >>> +    //    unless regex was compiled with NEWLINE flag. >>> +    // noteol:  The match-end-of-line operator always fails to match. >>> +    //    unless regex was compiled with NEWLINE flag. >>> + >>> +    bool matches(const char *string, bool notbol=false, bool noteol=false); >>> +    bool match_sub(const char *string, llvm_regmatch_t...
2009 Aug 25
0
[LLVMdev] Regular Expression lib support
...;Error)" or similar > method, which would return the regex error if one was found during construction. > Ok. > >> + // notbol: The match-beginning-of-line operator always fails to match, >> + // unless regex was compiled with NEWLINE flag. >> + // noteol: The match-end-of-line operator always fails to match. >> + // unless regex was compiled with NEWLINE flag. >> + >> + bool matches(const char *string, bool notbol=false, bool noteol=false); >> + bool match_sub(const char *string, llvm_regmatch_t pmatch[], >&g...
2009 Aug 25
6
[LLVMdev] Regular Expression lib support
...an "bool isValid(std::string &Error)" or similar method, which would return the regex error if one was found during construction. > + // notbol: The match-beginning-of-line operator always fails to match, > + // unless regex was compiled with NEWLINE flag. > + // noteol: The match-end-of-line operator always fails to match. > + // unless regex was compiled with NEWLINE flag. > + > + bool matches(const char *string, bool notbol=false, bool noteol=false); > + bool match_sub(const char *string, llvm_regmatch_t pmatch[], > +...
2009 Aug 27
0
[LLVMdev] Regular Expression lib support
...e null-terminated, or may include embedded nuls). You can add a Twine& constructor if needed ;) > >>>> + // notbol: The match-beginning-of-line operator always fails to match, >>>> + // unless regex was compiled with NEWLINE flag. >>>> + // noteol: The match-end-of-line operator always fails to match. >>>> + // unless regex was compiled with NEWLINE flag. >>>> + >>>> + bool matches(const char *string, bool notbol=false, bool noteol=false); >>>> + bool match_sub(const char *string,...
2009 Aug 25
0
[LLVMdev] Regular Expression lib support
On 2009-08-24 20:14, Chris Lattner wrote: > On Aug 23, 2009, at 11:59 PM, Török Edwin wrote: >> If LLVM is going to have an integrated regex library I suggest using it >> regardless if the platform has one. >> The LLVM integrated regex library will provide consistent behaviour and >> execution time, the system one will not. > > Hi Edwin, > > Can you propose
2009 Aug 28
3
[LLVMdev] Regular Expression lib support
...may include embedded nuls). > You can add a Twine& constructor if needed ;) > >> >>>>> +    // notbol: The match-beginning-of-line operator always fails to match, >>>>> +    //    unless regex was compiled with NEWLINE flag. >>>>> +    // noteol:  The match-end-of-line operator always fails to match. >>>>> +    //    unless regex was compiled with NEWLINE flag. >>>>> + >>>>> +    bool matches(const char *string, bool notbol=false, bool noteol=false); >>>>> +    bool match_sub(cons...
2009 Aug 24
3
[LLVMdev] Regular Expression lib support
On Aug 23, 2009, at 11:59 PM, Török Edwin wrote: > If LLVM is going to have an integrated regex library I suggest using > it > regardless if the platform has one. > The LLVM integrated regex library will provide consistent behaviour > and > execution time, the system one will not. Hi Edwin, Can you propose the openbsd implementation as a patch to lib/support? -Chris