[Koha-bugs] [Bug 12654] Incorrect quoting in regexp in AuthoritiesMarc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 29 23:24:25 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12654

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30262|0                           |1
        is obsolete|                            |

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 30312
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30312&action=edit
[PASSED QA] Bug 12654 Correct incorrectly quoted regexp

A compile time warning was being generated because \ does not quote
{ Replace the plethora of \ before meta and presumed meta characters
by \Q \E which gets perl to generate all the necessary escapes, we can
assume it knows its regex engine as well or better than the human
programmer

Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Verified change reading the perldoc and also checked that
./misc/link_bibs_to_authorities.pl is no longer showing
the warn and still works.

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


More information about the Koha-bugs mailing list