Skip to content

Commit f54506b

Browse files
committed
Fix typo
1 parent d0c44f1 commit f54506b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Interpolation into the expression is supported, so long as the interpolated valu
3939

4040
- Inline string, regexp, or number literals.
4141
- Inline regexes constructed via `RegExp` or `new RegExp` with string values.
42-
- Inline patterns, via `` pattern`…` `` as a template tag (without interpolation) or `pattern(…)` as a funcion call with a string or number literal as the value.
42+
- Inline patterns, via `` pattern`…` `` as a template tag (without interpolation) or `pattern(…)` as a function call with a string or number literal as the value.
4343

4444
Additional details:
4545

@@ -58,7 +58,7 @@ The following options are available when running the Babel plugin:
5858
- **`removeImport`** — If `true`, removes any import declarations with module name `'regex'`.
5959
- **`disableUnicodeSets`** — If `true`, adds `regex` option `disable: {v: true}` to all regexes before transformation.
6060
- **`headerComment`** — If given a value, it will be added in a comment at the top of processed output/files.
61-
- **`optimize`** (*experimental*) — If `true`, attempts to further optimize the regex source generated by `regex`.
61+
- **`optimize`** (*experimental*) — If `true`, attempts to optimize/shorten the regex source generated by `regex`.
6262
- Uses an external library ([regexp-tree](https://github.com/DmitrySoshnikov/regexp-tree)'s optimizer) that doesn't support flag-<kbd>v</kbd>-only syntax and isn't fully context-aware, so you should check the output.
6363

6464
## Compatibility

0 commit comments

Comments
 (0)