summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index cf93f1b..9122e52 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -223,7 +223,8 @@ int conf_get_csv(const struct conf *conf, const char *name,
if (err)
return err;
- err = re_regex(r.p, r.l, "[^,]+,[^]*", &pl1, &pl2);
+ /* note: second value may be quoted */
+ err = re_regex(r.p, r.l, "[^,]+,[~]*", &pl1, &pl2);
if (err)
return err;