]> git.evergreen-ils.org Git - Evergreen.git/commit
Correctly quote regexp-y characters in phrase quoting helper
authorMike Rylander <mrylander@gmail.com>
Fri, 24 Feb 2012 18:40:06 +0000 (13:40 -0500)
committerMike Rylander <mrylander@gmail.com>
Fri, 24 Feb 2012 18:51:48 +0000 (13:51 -0500)
commit44bd6367fa8bc8e0283954ace17c7f1555035eb2
tree0f6be321972de87cb55059d4ac4ccefc4541db02
parenteb1df70a651b0de65ed3d2bd76b29958b47d6262
Correctly quote regexp-y characters in phrase quoting helper

There was one extra character that caused the use of quotemeta() to not
actually happen.  This broke two things:

  1) phrase searching when the phrase had certain special characters in it
        -- test case: "c++"
  2) use of relevance bumps in the same situation

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm