-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
A user suggested pcreregex instead of regex:
Index: urlview.c
--- urlview.c (revision 15)
+++ urlview.c (working copy)
@@ -42,7 +42,7 @@
#include <sys/stat.h>
#ifdef HAVE_REGEX_H
-#include <regex.h>
+#include <pcreposix.h>
#else
#include <rx/rxposix.h>
#endif
see aso http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182853
I has to be linked with
LDFLAGS+= -L${LOCALBASE}/lib -lpcreposix -lpcre
On FreeBSD it builds and works fine with this change,
but I'm not sure you want to add it the code. What do you think?