Can we try to stop to use globals here?

Also, I know this is over security, but can we use the multiline delimiter on the regexp?

```ruby
/\A([\w\_\.]+)_(desc|asc)\z/