Skip to content

Commit

Permalink
Fix typo in README file
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 committed Feb 14, 2018
1 parent a960f1d commit 8408216
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,22 +126,22 @@ Later it may have more advanced stuff like macros (for simpler syntax).
Tokens:
# Whitespaces

- name: NewLine
- type: NewLine
value: "\n"

- name: Space
- type: Space
regex: '[ \t]+'

# Math

- name: Operator
- type: Operator
regex: '[+-*/]'

# Color
# It has 'valid' field, to be sure that it's not i.e. blacker
# Now, it will check if there is no text after

- name: Color
- type: Color
regex: '(?<value>black|white)'
valid: '(black|white)[^\w]'
```
Expand Down Expand Up @@ -240,6 +240,7 @@ For now, you can see example of JSON semantics in `examples/json.yaml` file.

### Version 2

- **2.0.1** - fix typo in README file
- **2.0.0** - optimize it (even 10x faster) by expression analysis and some other things

### Version 1
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "universal-lexer",
"version": "2.0.0",
"version": "2.0.1",
"description": "Universal lexer, where you can pass your rules for lexical analytics",
"keywords": [
"tokenizer",
Expand Down

0 comments on commit 8408216

Please sign in to comment.