The m//
operator has some obscure special cases:
- If you use
?
as the delimiter it only matches once unless you call reset
.
- If you use
'
as the delimiter the pattern is not interpolated.
- If the pattern is empty it uses the pattern from the last successful match.