Skip to content

Commit 8ce5b6c

Browse files
Update README.md
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.
1 parent fc0028a commit 8ce5b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Unlike the deprecated and unmaintained package [url-regex][], we do a few things
124124

125125
* We set `strict` to `false` by default ([url-regex][] had this set to `true`)
126126
* 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).
127-
* 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).
127+
* 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).
128128
* We added an `apostrophe` option, which is set to `false` by default ([url-regex][] had this set to `true`).
129129
* 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`).
130130

0 commit comments

Comments
 (0)