Bug 12654 Correct incorrectly quoted regexp
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 24 Jul 2014 16:12:42 +0000 (17:12 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 30 Jul 2014 14:06:27 +0000 (11:06 -0300)
commit61440fab138cf4d05491cb0b1af6b2aebc50a13c
tree3d4f0ee2a29461971ca964021566f35bd1cd13f4
parent41506ab0b52542682011f774b9ea9f0a089b3123
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@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@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.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Works as described, running:
 prove t/db_dependent/AuthoritiesMarc.t
doesn't show the warning anymore.
C4/AuthoritiesMarc.pm