Uploaded image for project: 'Perl Driver'
  1. Perl Driver
  2. PERL-168

Driver passes perl regex flags unknown to the db

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.46.1
    • Component/s: Perl driver
    • Labels:
      None
    • # Replies:
      10
    • Last comment by Customer:
      true

      Description

      If you pass a regex like qr/blah/ux, the db logs

      Wed May 23 14:50:16 warning: unknown regex flag:u
      Wed May 23 14:50:16 warning: unknown regex flag:x

      on every query. I am guessing the regex should get recompiled or stripped of the extended PCRE flags when converted into internal mongo format.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                3 years, 12 weeks, 4 days ago
                Date of 1st Reply: