chiark / gitweb /
Check namepart/stopword don't change across reload.
[disorder] / lib / configuration.h
index e9fce7359a48da7aa409a7e4169e32a2f879f78c..875b9d627851d3573d05868bc8864ebfe243ed06 100644 (file)
@@ -70,7 +70,8 @@ struct collectionlist {
 
 struct namepart {
   char *part;                          /* part */
-  pcre *re;                            /* regexp */
+  pcre *re;                            /* compiled regexp */
+  char *res;                            /* regexp as a string */
   char *replace;                       /* replacement string */
   char *context;                       /* context glob */
   unsigned reflags;                    /* regexp flags */