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

--- Comment #1 from Andrii Veremeienko <andriive...@gmail.com> ---
Created attachment 127107
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127107&action=edit
Bug 29375: Excessive regular expressions

There are several places throughout the application where regular expressions
are used for the whitespaces trimming together with the normalization function
C4::Circulation::barcodedecode.

Solution was to remove those regular expressions, because
C4::Circulation::barcodedecode trimming whitespaces by itself.

How to test:
1. Go to the Koha code base;
2. Do global search by "barcodedecode" key word;
3. Observe that there are several places where barcodedecode used with regular
expression together;
4. Apply the patch;
5. Repeat steps 1, 2;
6. Observe that there are no regular expressions used together with
barcodedecode;

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to