Merge branch '4.next'
[exim.git] / src / src / macros.h
index ccdcc451f703a68e88af3ffb9af4747b8f409f2d..4263bc444af7ae40d5c903f7394e11fa07d579ad 100644 (file)
@@ -202,8 +202,7 @@ record, and the max number of continuation records allowed. */
 
 /* Macros for trivial functions */
 
-#define mac_ismsgid(s) \
-  (pcre_exec(regex_ismsgid,NULL,CS s,Ustrlen(s),0,PCRE_EOPT,NULL,0) >= 0)
+#define mac_ismsgid(s) (regex_match(regex_ismsgid, (s), -1, NULL))
 
 
 /* Options for dns_next_rr */