[Koha-bugs] [Bug 30358] Strip leading/trailing whitespace characters from input fields when cataloguing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 3 13:59:11 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30358

--- Comment #48 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
About the regex:

$value =~ s/^\s+|\s+$|^\n+|\n+$|^\r+|\r+$|^\t+|\t+$//g;

Is the following not the same:

$value =~ s/^\s+|\s+$//g;

?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list