Change number of flags
This commit is contained in:
parent
5f095cc340
commit
297ae60f81
1 changed files with 1 additions and 1 deletions
|
@ -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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue