Makefile | 5 +++++ README.md | 2 +- diff --git a/Makefile b/Makefile index 6b99a0590e2b66fb301dcc4145b18314d0f46cae..0f64d450de095274e1e5ed2d59b4ba092ea6c79d 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,11 @@ else LDLIBS += -lreadline endif +ifeq ($(O_PCRE),1) + CPPFLAGS += -DPCRE + LDLIBS += -lpcre +endif + ifeq ($(O_NOLOC),1) CPPFLAGS += -DNOLOCALE endif diff --git a/README.md b/README.md index 3b9dbd85176c56b7787352091dff4a079a8d9c04..f86441b16775044f1d27657953de815afe233715 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ - Familiar shortcuts (arrows, ~, -, @), quick reference - CD on quit (*easy* shell integration) - Search - Instant filtering with *search-as-you-type* - - Regex and substring (default) matches + - Regex (POSIX/PCRE) and string (default) filters - Subtree search plugin to open or edit files - Sort - Ordered pure numeric names by default (visit _/proc_)