[pcre-dev] [Bug 2673] Regex cannot be compiled if source com…

Αρχική Σελίδα
Delete this message
Συντάκτης: admin
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] [Bug 2673] Regex cannot be compiled if source compiled with std=c18
https://bugs.exim.org/show_bug.cgi?id=2673

--- Comment #2 from shiftag@??? ---
I am not using raw string for c18 or c17 like you can see in my first post. But
I am compiling that way:

$ gcc -std=c18 test.c `pkg-config --libs --cflags libpcre2-8` -o test

and I am declaring and initializing the pattern that way:

static const char pattern[] =
"^((?<scheme>[^:/?#]+):)?(?<authority>//(((?<userinfo>[^/?#]*)@)?(?<host>[^/?#:]*)(?:(?<port>[^/?#]*))?))?(?<path>[^?#]*)(\?(?<query>[^#]*))?(#(?<fragment>.*))?";

--
You are receiving this mail because:
You are on the CC list for the bug.