aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/rails.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/rails.rb')
-rw-r--r--activesupport/lib/active_support/rails.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/rails.rb b/activesupport/lib/active_support/rails.rb
index 57380061f7..f6b018f0d3 100644
--- a/activesupport/lib/active_support/rails.rb
+++ b/activesupport/lib/active_support/rails.rb
@@ -25,3 +25,9 @@ require "active_support/core_ext/module/delegation"
# Defines ActiveSupport::Deprecation.
require "active_support/deprecation"
+
+# Defines Regexp#match?.
+#
+# This should be removed when Rails needs Ruby 2.4 or later, and the require
+# added where other Regexp extensions are being used (easy to grep).
+require "active_support/core_ext/regexp"