]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Simplify parse_sa_regexp by delegating to rspamd_regexp.create
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 26 Jan 2026 17:48:55 +0000 (17:48 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 26 Jan 2026 17:48:55 +0000 (17:48 +0000)
commitcbcff0cc6ce7b4392fcf591167775f39108f5e77
treed1226ea5c5ae57da53942a53cbf3db0260b8207f
parentd3edf80082ddfd8f3010da5e5aaf7bdece04226e
[Fix] Simplify parse_sa_regexp by delegating to rspamd_regexp.create

Remove unnecessary flag parsing and inline modifier transform that
caused issues with invalid PCRE flags (g, u). rspamd_regexp.create
already handles /pattern/flags and m{pattern}flags formats natively.

Closes: #5858
src/plugins/lua/multimap.lua