Skip to content

pcreregex instead of regex #4

Description

@mexas

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions