Avoid "Unescaped left brace in regex is deprecated" warning.159/head
commit8abe542501b9313597a03de8b1382896216ecbc1
authorJames E Keenan <jkeenan@cpan.org>
Wed, 22 Jun 2016 20:08:28 +0000 (22 16:08 -0400)
committerJames E Keenan <jkeenan@cpan.org>
Thu, 23 Jun 2016 23:13:53 +0000 (23 19:13 -0400)
tree8ffef7c3182884347ceb315013ecb76f8494ccf8
parent0000139cb4af924ed2a453c6594794cbcb9ddf4c
Avoid "Unescaped left brace in regex is deprecated" warning.

In Perl 5.24.0, when running t/Tools/SiRNA.t, we were getting the warning
above on two consecutive lines.  The underlying reason for the warnings was
that pattern in question never really was a regex quantifier.

This patch silences those warnings and
prevents the module from failing on future versions of perl.

The test suite was never exercising the code in question.  Now it will
exercise the code in question, but that will mean different numbers of pairs
to be expected in t/Tools/SiRNA.t.
Bio/Tools/SiRNA/Ruleset/tuschl.pm
t/Tools/SiRNA.t