Kohabug 2500 Fiction Call Number Splitting Enhancement/Bugfix
The current regexp used to split fiction call numbers does not handle the '.' char well. This patch corrects the regexp so that it behaves as expected. This patch should be ported to the 3.0.x branch. [fbcbug 5] Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
66b96f079a
commit
fede41b161
|
|
@ -950,7 +950,7 @@ sub split_fcn {
|
|||
# Split fiction call numbers based on spaces
|
||||
SPLIT_FCN:
|
||||
while ($fcn) {
|
||||
if ($fcn =~ m/([A-Za-z0-9]+)(\W?).*?/x) {
|
||||
if ($fcn =~ m/([A-Za-z0-9]+\.?[0-9]?)(\W?).*?/x) {
|
||||
push (@fcn_split, $1);
|
||||
$fcn = $';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue