lib/active_support/inflector/inflections.rb in activesupport-6.0.2.2 vs lib/active_support/inflector/inflections.rb in activesupport-6.0.3.rc1

- old
+ new

@@ -228,10 +228,9 @@ instance_variable_set "@#{scope}", [] end end private - def define_acronym_regex_patterns @acronym_regex = @acronyms.empty? ? /(?=a)b/ : /#{@acronyms.values.join("|")}/ @acronyms_camelize_regex = /^(?:#{@acronym_regex}(?=\b|[A-Z_])|\w)/ @acronyms_underscore_regex = /(?:(?<=([A-Za-z\d]))|\b)(#{@acronym_regex})(?=\b|[^a-z])/ end