in reply to Re: match expression from query
in thread match expression from query

A regex will only make sense when applied on a scalar, not on an array,

The m//atch operator applies a regex against a scalar

The s///ubstitution operator applies a regex against a scalar

The regex is the stuff in between m/ and /

The m// is the match operator, the regex is the argument to the match operator match('regex')

  • Comment on Re^2: match expression from query (m//atch operator)