@@ -2837,16 +2837,16 @@ the match. For example:
28372837
28382838The currently defined methods are
28392839
2840- $/.from # the initial match position
2841- $/.to # the final match position
2842- $/.chars # $/.to - $/.from
2843- $/.orig # the original match string
2844- $/.Str # substr($/.orig, $/.from, $/.chars)
2845- $/.ast # the abstract result associated with this node
2846- $/.caps # sequential captures
2847- $/.chunks # sequential tokenization
2848- $/.before # text before the match
2849- $/.after # text after the match
2840+ $/.from # the initial match position
2841+ $/.to # the final match position
2842+ $/.chars # $/.to - $/.from
2843+ $/.orig # the original match string
2844+ $/.Str # substr($/.orig, $/.from, $/.chars)
2845+ $/.ast # the abstract result associated with this node
2846+ $/.caps # sequential captures
2847+ $/.chunks # sequential tokenization
2848+ $/.prematch # $/.orig.substr(0, $/.from)
2849+ $/.postmatch # $/.orig.substr($/.to)
28502850
28512851Within the regex the current match state C<$¢> also provides
28522852
0 commit comments