samvera / questioning_authority

Question your authorities
Other
54 stars 30 forks source link

Use a regular expression to match error messages #363

Closed eddierubeiz closed 2 years ago

eddierubeiz commented 2 years ago

In Ruby 3.1, the https://github.com/ruby/ruby/tree/master/lib/error_highlight gem will start highlighting the part of the code that breaks. Let's match both the old-style and new-style error using a clever regex.