I guess something like this would be more readable for these regexp:

```ruby
if line =~ /<name>(.*)<\/name>/
    user = $1
    vprint_good("user: #{user}")
end
```