fix
This commit is contained in:
parent
74efc83650
commit
c55c5aee7c
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ alert( "CS4".match(/CS.4/) ); // null, no match because there's no character for
|
||||||
|
|
||||||
### Dot as literally any character with "s" flag
|
### Dot as literally any character with "s" flag
|
||||||
|
|
||||||
Usually a dot doesn't match a newline character `\n`.
|
By default, a dot doesn't match the newline character `\n`.
|
||||||
|
|
||||||
For instance, the regexp `pattern:A.B` matches `match:A`, and then `match:B` with any character between them, except a newline `\n`:
|
For instance, the regexp `pattern:A.B` matches `match:A`, and then `match:B` with any character between them, except a newline `\n`:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue