Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21617

Regex filter broken in Search Builder

    Details

    • Type: Bug
    • Status: Won't Do
    • Priority: Trivial
    • Resolution: Won't Do
    • Affects Version/s: 4.7.29
    • Fix Version/s: 4.7.31
    • Component/s: CiviCRM Search
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      It would appear that the Regular Expression option in Search builder is broken. This can be reproduced by doing a search builder with the regex expression of [A-Z]{2}$ for the first name. It will pull up any contact that has 2 letters. This is because the regular expression gets transformed into lower case and also REGEXP / RLIKE isn't case sensitive by default unless used with the word BINARY

        Attachments

          Activity

            People

            • Assignee:
              seamuslee Seamus Lee
              Reporter:
              seamuslee Seamus Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: