summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-06-06 15:25:33 -0400
committerKyle Meyer <kyle@kyleam.com>2020-06-06 15:34:31 -0400
commit8235e30ae7bca944930778258aa3452c941b2bcd (patch)
tree91c0ae2f0ef5ad85c37c2c15caaaf5f03dbe6ce4
parente81d66e455b1917048aabeb341fdf70334531348 (diff)
downloadpiem-8235e30ae7bca944930778258aa3452c941b2bcd.tar.gz
piem-patch-subject-re: Permit other text before the patch prefix
Requiring that the patch prefix be at the beginning prevents matching subjects for projects in which senders commonly put other prefixes like "[bug#NNN]" before "[PATCH]".
-rw-r--r--piem.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/piem.el b/piem.el
index e297930..47681fb 100644
--- a/piem.el
+++ b/piem.el
@@ -313,7 +313,7 @@ the first will be ignored."
info)))
(defvar piem-patch-subject-re
- (rx string-start (zero-or-more space) "["
+ (rx (zero-or-more space) "["
(zero-or-more (not (any "]" "\n")))
"PATCH"
(zero-or-more (not (any "]" "\n")))