Skip to content

Commit

Permalink
Use * instead of +? to indicate zero or more quantifier
Browse files Browse the repository at this point in the history
  • Loading branch information
leebyron committed Jul 16, 2015
1 parent a5b5d61 commit 44f3e9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Section 8 -- Grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ LineTerminator :
- "Paragraph Separator (U+2029)"

Comment :
- `#` CommentChar+?
- `#` CommentChar*

CommentChar : "Any character" but not LineTerminator

Expand Down Expand Up @@ -167,7 +167,7 @@ FloatValue :

IntegerPart :
- NegativeSign? 0
- NegativeSign? NonZeroDigit Digit+?
- NegativeSign? NonZeroDigit Digit*

FractionalPart : . Digit+

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"deploy": "npm run build && (cd out && git init && git config user.name \"Travis CI\" && git config user.email \"github@fb.com\" && git add . && git commit -m \"Deploy to GitHub Pages\" && git push --force --quiet \"https://${GH_TOKEN}@github.com/facebook/graphql.git\" master:gh-pages > /dev/null 2>1)"
},
"devDependencies": {
"spec-md": "0.3.7"
"spec-md": "0.4.0"
}
}

0 comments on commit 44f3e9d

Please sign in to comment.