rails/rails — comment on commit 9906492f5382b1d027d6dd64ba21dc6a6ed4f4f5
File: activesupport/lib/active_support/core_ext/string/output_safety.rb line 8
By fxn:

That backslash to the right of the quote is not needed right? Also I think the group `(#\d+)` is unnecessary, if I am not mistaken `(?!([a-zA-Z]+|#\d+)` would suffice.