Using global match variables is generally avoided, since it sets global state and is a bit less explicit in the intent. Something like this would be a bit better:

```ruby
if (match = arch.match /type\s(\S+)\s/)
  match[1]
end
```

What do you think?