]> git.koha-community.org Git - koha.git/commit
Bug 29403: Match the whole string
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 3 Nov 2021 12:15:18 +0000 (12:15 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 15 Dec 2021 22:14:41 +0000 (12:14 -1000)
commit62652115dc2b9263c9ac1d9067fdab240f96f9a1
tree449e20f88480458c3a1fb64cb3f261804749961b
parentb09e3e99b7a9dc77c00b462fa4973616aace226e
Bug 29403: Match the whole string

This patch wraps the constructed regex such that we expect the entire
regex to match and don't allow leading or trailing garbage.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/DateUtils.pm