[Koha-bugs] [Bug 26126] New: RegEx Rule for Call Number Splitting doesn't work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 3 10:28:43 CEST 2020


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

            Bug ID: 26126
           Summary: RegEx Rule for Call Number Splitting doesn't work
 Change sponsored?: ---
           Product: Koha
           Version: 20.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: christian.stelzenmueller at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org

Splitting Call Numbers with the following RegEx - Rule and Call Number does not
work with following RegEx Rule:

s/(\s)([A-Z])/\n\n$2/g

Call Number: 658.4 Lan

A space after a capital letter will be replaced with two breaks.

The testing option in the Classification splitting rules works fine.
The Call Number becomes 

658.
4

Lan


Exporting an item / call number in the batch with label creator module, and a
classification source that has RegEx as a Splitting Rule, one break will be
deleted in the exported pdf.
It seems it doesn't matter if the used Classification is DDC or generic / z.

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


More information about the Koha-bugs mailing list