rline: native regex engine (thompson nfa, no backtracking) + RLINE regex bans (registration/enforce/stats R/matchonnickchange)

This commit is contained in:
Jean Chevronnet 2026-08-10 21:48:52 +00:00
parent b76fbfdb79
commit 56d3774647
8 changed files with 786 additions and 1 deletions

View file

@ -243,7 +243,7 @@ impl Command for Stats {
s.numeric(uid, RPL_STATSOLINE, &format!("O * * {n} :oper"));
}
}
'k' | 'g' | 'z' | 'e' | 'q' | 's' | 'S' => {
'k' | 'g' | 'z' | 'e' | 'q' | 's' | 'S' | 'R' => {
let kind = match letter {
'k' => XKind::Kline,
'g' => XKind::Gline,
@ -251,6 +251,7 @@ impl Command for Stats {
'e' => XKind::Eline,
'q' => XKind::Qline,
'S' => XKind::Svshold,
'R' => XKind::Rline,
_ => XKind::Shun,
};
let rows: Vec<String> = s