From d9d7affec08325afdc836f880ca68b6f36535dfb Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 31 Oct 2013 19:17:45 -0400 Subject: [PATCH] Unit Tests - OpenBSD has the same limitations as other BSD variants, with respect to regex \b support. --- test/rx.t.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rx.t.cpp b/test/rx.t.cpp index e2634513b..eae83f6dd 100644 --- a/test/rx.t.cpp +++ b/test/rx.t.cpp @@ -93,7 +93,7 @@ int main (int argc, char** argv) ut.ok (r9.match (start, end, text), "e there are matches"); ut.is (start.size (), (size_t) 6, "e == 6 matches"); -#if defined(DARWIN) || defined(CYGWIN) || defined(FREEBSD) +#if defined(DARWIN) || defined(CYGWIN) || defined(FREEBSD) || defined(OPENBSD) text = "this is the end."; ut.pass (text + " =~ /\\bthe/"); ut.pass (text + " =~ /the\\b/");