Skip to content

Commit

Permalink
Reword m flag description
Browse files Browse the repository at this point in the history
I didn't understand what `m` meant from this page's description, so I reworded it. Hopefully this is more clear.
  • Loading branch information
DanKaplanSES authored Jan 19, 2025
1 parent 8bbce45 commit 90de69e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ These flags can be used separately or together in any order, and are included as
| `d` | Generate indices for substring matches. | {{jsxref("RegExp/hasIndices", "hasIndices")}} |
| `g` | Global search. | {{jsxref("RegExp/global", "global")}} |
| `i` | Case-insensitive search. | {{jsxref("RegExp/ignoreCase", "ignoreCase")}} |
| `m` | Allows `^` and `$` to match next to newline characters. | {{jsxref("RegExp/multiline", "multiline")}} |
| `m` | Change `^` and `$` from matching start and end of entire string to matching each line. | {{jsxref("RegExp/multiline", "multiline")}} |
| `s` | Allows `.` to match newline characters. | {{jsxref("RegExp/dotAll", "dotAll")}} |
| `u` | "Unicode"; treat a pattern as a sequence of Unicode code points. | {{jsxref("RegExp/unicode", "unicode")}} |
| `v` | An upgrade to the `u` mode with more Unicode features. | {{jsxref("RegExp/unicodeSets", "unicodeSets")}} |
Expand Down

0 comments on commit 90de69e

Please sign in to comment.