Koha-clms/Koha/Util
Tomas Cohen Arazi bbf2aff7d2 Bug 17302: Add Koha::Util::Normalize for normalization functions
This patch introduces Koha::Util::Normalize, which includes the following normalization routines
that need no explanation:

- remove_spaces
- upper_case
- lower_case

and it also includes:

- legacy_default: which basically does what C4::Matcher::_normalize does.

All routines functionality are fully tested with the included in the included tests.

To test:
- Apply the patch
- Run:
  $ prove t/Koha/Util/Normalize.t
=> SUCCESS: All tests pass
- Sign off :-D

Edit: Added Exporter to explicitly export the routines.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Katrin Fischer  <katrin.fischer@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-09-25 14:04:54 +00:00
..
FrameworkPlugin.pm Bug 13437: Preliminary changes for marc21 plugins field 008 2015-06-10 12:51:26 -03:00
MARC.pm Bug 12629 - Software error when trying to merge records from different frameworks 2016-09-15 13:44:10 +00:00
Normalize.pm Bug 17302: Add Koha::Util::Normalize for normalization functions 2016-09-25 14:04:54 +00:00