IMO string interpolation (instead of concatenation) is much more readable.

How about

```ruby
url = "#{GITHUB_URL}#{$1} 
```