Lines Matching refs:re

169          pcreprecompile    details of saving and re-using precompiled patterns
1889 The compiled form of a regular expression can be saved and re-used at a
2103 pcre *re;
2106 re = pcre_compile(
2414 not been re-used.
2577 pcre *re;
2579 re = pcre_compile("pattern", 0, &error, &erroroffset, NULL);
2581 re, /* result of pcre_compile() */
2585 re, sd, "subject", 7, 0, 0, ovector, 30);
2588 pcre_free(re);
2659 re = pcre_compile(..., tables);
2719 re, /* result of pcre_compile() */
3090 re, /* result of pcre_compile() */
3982 previous section, they are not re-described here. There are just two
4117 re, /* result of pcre_compile() */
4704 (j) Patterns compiled by PCRE can be saved and re-used at a later time,
5079 erwise re-reads up to three octal digits following the backslash, using
6387 to be re-evaluated to see if a different number of repeats allows the
6403 to be re-evaluated in this way.
6964 $re = qr{\( (?: (?>[^()]+) | (?p{$re}) )* \)}x;
7072 the subject string, it is never re-entered, even if it contains untried
7094 and so the entire match fails. (Perl is able, at this point, to re-
7186 ject string, it is never re-entered, even if it contains untried alter-
7373 re> /X(*MARK:A)Y|X(*MARK:B)Z/K
7394 re> /X(*MARK:A)Y|X(*MARK:B)Z/K
7451 re> /(*COMMIT)abc/
8651 pcre *re;
8655 re = pcre_compile(pattern, 0, &error, &erroffset, NULL);
8657 extra = pcre_study(re, PCRE_STUDY_JIT_COMPILE, &error);
8661 rc = pcre_exec(re, extra, subject, length, 0, 0, ovector, 30);
8663 pcre_free(re);
8956 re> /^\d?\d(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\d\d$/
8989 re> /^\d?\d(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\d\d$/
9024 re-run, starting from the point where the partial match occurred. Ear-
9032 re> /\d?\d(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\d\d/
9089 re> "(?<=123)abc"
9097 re> /c(?<=abc)x/
9117 re> /dog(sbody)?/
9142 re> /dog(sbody)?/
9172 re> /1234|3789/
9178 Of course, instead of using PCRE_DFA_RESTART, the same technique of re-
9243 pcre *re;
9245 re = pcre_compile("my pattern", 0, &error, &erroroffset, NULL);
9246 if (re == NULL) { ... handle errors ... }
9247 rc = pcre_fullinfo(re, NULL, PCRE_INFO_SIZE, &size);
9249 rc = fwrite(re, 1, size, fd);
9802 pcrecpp::RE re("h.*o");
9803 re.FullMatch("hello");
9806 pcrecpp::RE re("e");
9807 !re.FullMatch("hello");
9823 pcrecpp::RE re("(\\w+):(\\d+)");
9824 re.FullMatch("ruby:1234", &s, &i);
9827 re.FullMatch("ruby:1234", &s);
9830 re.FullMatch("ruby:1234", NULL, &i);
9833 !re.FullMatch("ruby:1234567891234", NULL, &i);
9906 pcrecpp::RE re("(\\d+)");
9907 re.PartialMatch("x*100 + 20", &number);
9925 pcrecpp::RE re(utf8_pattern, options);
9926 re.FullMatch(utf8_string);
9929 pcrecpp::RE re(utf8_pattern, pcrecpp::UTF8());
9930 re.FullMatch(utf8_string);
10040 pcrecpp::RE re("(\\w+) = (\\d+)\n");
10041 while (re.Consume(&input, &var, &value)) {
10066 pcrecpp::RE re("(.*) (.*) (.*) (.*)");
10067 re.FullMatch("100 40 0100 0x40",
10089 subject to re-matching. For example:
10129 to re-create pcredemo.c.