Commit MetaInfo

修订版192a4452688d43c4874c7ee355b945b6698b5dc5 (tree)
时间2022-12-02 23:55:05
作者Erik <erikgronwal@user...>
CommiterErik

Log Message

Regular updates

更改概述

差异

--- a/regexp.md
+++ b/regexp.md
@@ -35,18 +35,20 @@ description: |
3535
3636 ### Anchors
3737
38-| Pattern | Description |
39-| ------- | ----------------------- |
40-| `\G` | Start of match |
41-| `^` | Start of string |
42-| `$` | End of string |
43-| `\A` | Start of string |
44-| `\Z` | End of string |
45-| `\z` | Absolute end of string |
46-| `\b` | A word boundry |
47-| `\B` | Non-word boundry |
48-| `^abc` | Start with `abc` |
49-| `abc$` | End with `abc` |
38+| Pattern | Description |
39+| ------- | ---------------------- |
40+| `\G` | Start of match |
41+| `^` | Start of string \* |
42+| `$` | End of string \* |
43+| `\A` | Start of string |
44+| `\Z` | End of string |
45+| `\z` | Absolute end of string |
46+| `\b` | A word boundry |
47+| `\B` | Non-word boundry |
48+| `^abc` | Start with `abc` |
49+| `abc$` | End with `abc` |
50+
51+For multiline patterns (`m` flag), `^` and `$` will act as start and end of line.
5052
5153 ### Escaped characters
5254
Show on old repository browser