Skip to content

Fix extended regex pattern example - #2229

Merged
wtlangford merged 1 commit into
jqlang:masterfrom
ajasmin:regex_doc_fix
Dec 18, 2020
Merged

Fix extended regex pattern example#2229
wtlangford merged 1 commit into
jqlang:masterfrom
ajasmin:regex_doc_fix

Conversation

@ajasmin

@ajasmin ajasmin commented Dec 17, 2020

Copy link
Copy Markdown
Contributor

test( "a\sb", "x" ) as it appears in the manual was doubly erroneous

  • \s in a string literal should be escaped as \\s
  • The argument delimiter should be ; instead of ,

@coveralls

coveralls commented Dec 17, 2020

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 84.134% when pulling 57ba27f on ajasmin:regex_doc_fix into a17dd32 on stedolan:master.

@wtlangford
wtlangford merged commit 80052e5 into jqlang:master Dec 18, 2020
@wtlangford

Copy link
Copy Markdown
Contributor

Good catch, thanks!

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.

3 participants