diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-20 21:01:29 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-20 20:26:20 +0000 |
commit | 8fe68db9440d2c93f49282cbb4ffa154fc36782d (patch) | |
tree | 4e9278640c49a39cb9be97d8233575d6101ab25f /epan/column-info.h | |
parent | c067ba606eb88c4493353375d2198b9bc8b648a9 (diff) | |
download | wireshark-8fe68db9440d2c93f49282cbb4ffa154fc36782d.tar.gz |
Add COL_CUSTOM_PRIME_REGEX
Use this as a common regex to split multi-field custom columns.
Change-Id: I40f76743284c5981c95d2e47d6d1d2a7f357d2ea
Reviewed-on: https://code.wireshark.org/review/12753
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'epan/column-info.h')
-rw-r--r-- | epan/column-info.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/column-info.h b/epan/column-info.h index f2c0ef25fe..45533ab72a 100644 --- a/epan/column-info.h +++ b/epan/column-info.h @@ -36,6 +36,7 @@ extern "C" { #define COL_MAX_LEN 256 #define COL_MAX_INFO_LEN 4096 +#define COL_CUSTOM_PRIME_REGEX " *([^ \\|]+) *(?:(?:\\|\\|)|(?:or))? *" /** Column expression */ typedef struct { |