in reply to Re^4: Regex Grumblings (Variable Interpolation)
in thread Regex Grumblings (Variable Interpolation)

It's not peculiar. There are 2 steps. First the written RE is transformed in a value of 'type' RE like a written 2 is transformed into the number 2. This step includes the variables. But only once. Step 2: the match. No interpolation, all acording to the rules. Evidence in case: /$m/o . Study the o flag!
  • Comment on Re: Re^4: Regex Grumblings (Variable Interpolation)