Nested blocks on a single line make this very hard to understand: I would suggest putting the exclusion into a `reject!` block on the line below. It would also make the code here simpler if you instantiated the `Regex` objects in the `initialize` method.