Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed a small issue with migration instructions for users of url-regex, which said that parens option was set to true by default, while it is really set to false.
  • Loading branch information
pjotrsavitski committed Sep 22, 2021
1 parent fc0028a commit 8ce5b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -124,7 +124,7 @@ Unlike the deprecated and unmaintained package [url-regex][], we do a few things

* We set `strict` to `false` by default ([url-regex][] had this set to `true`)
* We added an `auth` option, which is set to `false` by default ([url-regex][] matches against Basic Authentication; had this set to `true` - however this is a deprecated behavior in Chromium).
* We added `parens` and `ipv6` options, which are set to `true` by default ([url-regex][] had `parens` set to `true` and `ipv6` was non-existent or set to `false` rather).
* We added `parens` and `ipv6` options, which are set to `false` and `true` by default ([url-regex][] had `parens` set to `true` and `ipv6` was non-existent or set to `false` rather).
* We added an `apostrophe` option, which is set to `false` by default ([url-regex][] had this set to `true`).
* We added a `trailingPeriod` option, which is set to `false` by default (which means matches won't contain trailing periods, whereas [url-regex][] had this set to `true`).

Expand Down

0 comments on commit 8ce5b6c

Please sign in to comment.