@@ -2837,16 +2837,16 @@ the match. For example:
2837
2837
2838
2838
The currently defined methods are
2839
2839
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)
2850
2850
2851
2851
Within the regex the current match state C<$¢> also provides
2852
2852
0 commit comments