Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4886033

Query.initialSubString etc fail if matched string contains wildcards

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 1.2.0
    • core-svc
    • b45
    • generic
    • generic

      Query.{initial,any,final}SubString work by translating the string into a Query.match pattern. For example, Query.initialSubString(a, Query.value("x")) is equivalent to Query.match(a, Query.value("x*")). The problem arises if "x" is a string that already contains wildcards. This string should be a literal match, but the implementation will interpret the wildcards as such.

            lmalvent Luis-Miguel Alventosa (Inactive)
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: