File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,8 +155,8 @@ Anchor -> '^' | '$' | '\A' | '\b' | '\B' | '\G' | '\y' | '\Y' | '\z' | '\Z'
155
155
156
156
Anchors match against a certain position in the input rather than on a particular character of the input.
157
157
158
- - ` ^ ` : Matches at the start of a line.
159
- - ` $ ` : Matches at the end of a line.
158
+ - ` ^ ` : Matches at the very start of the input string, or the start of a line when in multi-line mode .
159
+ - ` $ ` : Matches at the very end of the input string, or the end of a line when in multi-line mode .
160
160
- ` \A ` : Matches at the very start of the input string.
161
161
- ` \Z ` : Matches at the very end of the input string, in addition to before a newline at the very end of the input string.
162
162
- ` \z ` : Like ` \Z ` , but only matches at the very end of the input string.
You can’t perform that action at this time.
0 commit comments