Using an explicit Matchdata object is preferred over using the Perl style regular expression match, so this can be expressed like this:

```ruby
if (match = data.match INTERPOLATION)
  interpolation_variable = match[1]
 # ...
```