From eb06a86ff8a74d905810a4f1d9dc7b3155b74580 Mon Sep 17 00:00:00 2001 From: AGibson <4319494+annajgibson@users.noreply.github.com> Date: Fri, 1 Aug 2025 09:22:00 +0100 Subject: [PATCH] Amend regex --- scripts/jobs/data_and_insight/person_matching_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jobs/data_and_insight/person_matching_module.py b/scripts/jobs/data_and_insight/person_matching_module.py index 5dcb5e6ae..744666413 100644 --- a/scripts/jobs/data_and_insight/person_matching_module.py +++ b/scripts/jobs/data_and_insight/person_matching_module.py @@ -404,7 +404,7 @@ def standardize_name(name: Column) -> Column: trim( regexp_replace( regexp_replace(regexp_replace(name, "0", "O"), "1", "L"), - r"^[\&*./\]+", + r"[&*./\\]", "", ) )