Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable unicode_strings when working with regular expressions #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 4, 2020

  1. Disable unicode_strings when working with regular expressions

    Mojo::Base 0.50 enables unicode_strings feature in the scope where it
    used from. As a result, deserializing a regular expression injects
    qr//u flag to regexp object although the was no such flags in the
    deserialized BSON. The same issue repeats in t/bson.t when shuffling
    with the regular expressions.
    
    The consequence is that a t/bson.t test fails.
    
    This patch fixes it with disabling unicode_strings feature where
    needed.
    
    oliwer#36
    ppisar committed Jun 4, 2020
    Configuration menu
    Copy the full SHA
    817c787 View commit details
    Browse the repository at this point in the history