Change number of flags

This commit is contained in:
vasilevx 2019-05-27 19:46:19 +03:00 committed by GitHub
parent 5f095cc340
commit 297ae60f81
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).