Document regular expressions use in Mongoid

XMLWordPrintableJSON

    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Per https://github.com/mongodb/mongoid/pull/4572, there is no demongoize method for regexps which makes Regexp fields return their values as BSON::Regexp::Raw instead of Regexp.

      This is likely intentional to support regular expressions not originating from Ruby. For the same reason Mongoid should keep this behavior, but it should be documented.

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: