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

$regex op value handling #5

Merged
merged 1 commit into from
Aug 13, 2020
Merged

Conversation

jeniawhite
Copy link
Contributor

@jeniawhite jeniawhite commented Aug 13, 2020

When using $regex op, the value type isn't a string.
It is a regex object, which means that we need to extract the source.

Signed-off-by: Evgeniy Belyi jeniawhite92@gmail.com

When using $regex op, the value type isn't a string.
It is a regex object, which means that we need to exrtact the source.

Signed-off-by: Evgeniy Belyi <jeniawhite92@gmail.com>
@thomas4019 thomas4019 merged commit 99db255 into thomas4019:master Aug 13, 2020
@thomas4019
Copy link
Owner

Thanks for the PR, note: I fixed in a follow up commit, but there's tests you can run with npm test to make sure it doesn't break existing functionality. I should setup CircleCI integration someday so it's automatic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants