aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/column-info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/column-info.h b/epan/column-info.h
index 45533ab72a..cca684e83a 100644
--- a/epan/column-info.h
+++ b/epan/column-info.h
@@ -36,7 +36,7 @@ extern "C" {
#define COL_MAX_LEN 256
#define COL_MAX_INFO_LEN 4096
-#define COL_CUSTOM_PRIME_REGEX " *([^ \\|]+) *(?:(?:\\|\\|)|(?:or))? *"
+#define COL_CUSTOM_PRIME_REGEX " *([^ \\|]+) *(?:(?:\\|\\|)|(?:or)| *$){1}"
/** Column expression */
typedef struct {