From 8628e3d62aa7d4a5f44014b3d1da8b93bb5d9cb9 Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Wed, 14 Jan 2026 12:20:14 -0300 Subject: [PATCH] operators: add Misbehaving operator --- src/operators.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/operators.rs b/src/operators.rs index 5bec080..1c00e68 100644 --- a/src/operators.rs +++ b/src/operators.rs @@ -20,6 +20,7 @@ pub fn get_regex_operators() -> Result, regex::Error> { (r"(\b\w+\b)--", r"$1++"), //(r"CAmount\s+(\w+)\s*=\s*([0-9]+)", r"CAmount $1 = $2 + 1"), //(r"CAmount\s+(\w+)\s*=\s*([0-9]+)", r"CAmount $1 = $2 - 1"), + ("Misbehaving", "//Misbehaving"), ("continue", "break"), ("break", "continue"), ("std::all_of", "std::any_of"),