LP#1793585: Fix Unescaped left brace in regex Perl error.
authorJason Stephenson <jason@sigio.com>
Tue, 25 Sep 2018 15:47:05 +0000 (11:47 -0400)
committerJason Stephenson <jason@sigio.com>
Wed, 12 Dec 2018 18:58:16 +0000 (13:58 -0500)
commit524cd6fe252a6f6bbefdcffbb0d082fa4d1dd860
treec563be8b2c4ee351a00acb0191ba8af83c194e30
parenta953fdb6c8f18fff971e919ef4854346fc3b23a6
LP#1793585: Fix Unescaped left brace in regex Perl error.

Running make check results in the following error on Perl 5.26:

Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE EMAIL_SENDER}/ at Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/HoldNotify.pm line 358.

Prior to Ubuntu 18.04 and Perl 5.26, this was a deprecation warning.
This commit fixes the regular expressions in HoldNotify.pm to escape
the left braces to make this error/warning go away.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/HoldNotify.pm