diff --git a/C4/ClassSplitRoutine/RegEx.pm b/C4/ClassSplitRoutine/RegEx.pm index 1369727bcc..35da84f25c 100644 --- a/C4/ClassSplitRoutine/RegEx.pm +++ b/C4/ClassSplitRoutine/RegEx.pm @@ -57,7 +57,7 @@ sub split_callnumber { Applies a single admin-configured s/// substitution to $string in place, without ever evaluating the input as code. The rule is parsed as -sPATTERNREPLACEMENTFLAGS; the pattern is compiled with +C (any non-space delimiter is accepted); the pattern is compiled with qr// (so embedded-code assertions are treated as a runtime pattern and blocked by Perl), and the replacement is expanded as data via Koha::Regex::Replacement::expand_template. The