Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Do not wrap example Regex pattern with delimiters #152

Closed
wants to merge 1 commit into from
Closed

Do not wrap example Regex pattern with delimiters #152

wants to merge 1 commit into from

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Nov 7, 2016

The first argument to the Regex constructor is the pattern string itself. We shouldn't use delimiters in an example value within a test, as it may lead users to incorrectly believe that delimiters are expected.

derickr added a commit that referenced this pull request Nov 8, 2016
@derickr
Copy link
Contributor

derickr commented Nov 8, 2016

Merged (by hand, as it wasn't against the latest v1.2 branch)

@derickr derickr closed this Nov 8, 2016
@jmikola jmikola deleted the 1.2-regex-pattern branch November 8, 2016 14:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants