From 3a094ff68ce16d3ecd55f99414e9837e9b01bac6 Mon Sep 17 00:00:00 2001 From: C85297 <95289555+C85297@users.noreply.github.com> Date: Mon, 13 Apr 2026 08:44:33 +0100 Subject: [PATCH] Tests --- tests/operations/tests/RegularExpression.mjs | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tests/operations/tests/RegularExpression.mjs b/tests/operations/tests/RegularExpression.mjs index 6c560ecf..7cad4d56 100644 --- a/tests/operations/tests/RegularExpression.mjs +++ b/tests/operations/tests/RegularExpression.mjs @@ -50,4 +50,25 @@ TestRegister.addTests([ }, ], }, + { + name: "Regular Expression - built in email regex - IPv4 from #2318", + input: "user@[1.2.3.4]\ntest@[192.168.0.1]\nno-match@[1.2.3.]", + expectedOutput: "user@[1.2.3.4]\ntest@[192.168.0.1]", + recipeConfig: [ + { + op: "Regular expression", + args: [ + "Email address", + null, + true, + true, + false, + false, + false, + false, + "List matches", + ], + }, + ], + }, ]);