Commit fcf841c1 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Set REG_NOSUB for speed


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@831 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 1ba7f6a4
......@@ -138,7 +138,7 @@ do_order(struct VSL_data *vd, int argc, char **argv)
fprintf(stderr, "Tag \"%s\" unknown\n", argv[0]);
exit (2);
}
i = regcomp(&match_re, argv[1], REG_EXTENDED);
i = regcomp(&match_re, argv[1], REG_EXTENDED | REG_NOSUB);
if (i) {
char buf[BUFSIZ];
regerror(i, &match_re, buf, sizeof buf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment