m//
is the match operator. //
are delimiters of the regex that you are mathing. If you are using default delimiters (//
), then you can skip specifying m
at the beginning.
If you want to use some other charaters as delimiters, for example !
, then m
is required: m!/some/string/with/slashes!
.
solved Regular expressions doubts [closed]