]> git.evergreen-ils.org Git - working/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:40:06 +0000 (13:40 -0500)
commitf366eaeed22bdf54b5927e3b9beaea0ccc87216b
tree25d7602c3a6a1f61f3f84e8a0e450ed19a7ae147
parent43f410302a2bcec8e905b7ec6d479c25d4705988
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/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm