Merge pull request #1021 from vasilevx/patch-2

Change number of flags
This commit is contained in:
Ilya Kantor 2019-05-27 19:57:03 +03:00 committed by GitHub
commit a9a01567c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ alert( "<h1> <h2> <h3>".search(regexp));
Regular expressions may have flags that affect the search.
There are only 5 of them in JavaScript:
There are only 6 of them in JavaScript:
`i`
: With this flag the search is case-insensitive: no difference between `A` and `a` (see the example below).