Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
Jack-Works and ljharb committed Mar 26, 2022
1 parent 05fcaac commit b2658f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -242,7 +242,7 @@ semantics.)
```jsx
match (arithmeticStr) {
when (/(?<left>\d+) \+ (?<right>\d+)/): process(left, right);
when (/(\d+) \* (\d+)/ with [_, left, right]): process(left, right);
when (/(\d+) \* (\d+)/ with [, left, right]): process(left, right);
default: ...
}
```
Expand Down

0 comments on commit b2658f7

Please sign in to comment.