Skip to content

Convert string to regex when required#1

Open
Redsandro wants to merge 1 commit into
node4good:masterfrom
Redsandro:patch-1
Open

Convert string to regex when required#1
Redsandro wants to merge 1 commit into
node4good:masterfrom
Redsandro:patch-1

Conversation

@Redsandro

Copy link
Copy Markdown

When data is sent in JSON, strings must be used.
This convert these to regexes automatically, in stead of writing an external wrapper that loops the JSON looking for regexes.

I see version 0.0.18 is in the npm repo but 0.0.17 is the latest on github. I reckon you can merge without problems as $regex() seems similar.

When data is sent in `JSON`, strings must be used.
This convert these to `regex`es automatically.
@Redsandro

Copy link
Copy Markdown
Author

Oh shoot looks like I forked the wrong project. My bad.

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.

1 participant