We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df32bc commit 99986ccCopy full SHA for 99986cc
actionpack/lib/action_dispatch/journey/nodes/node.rb
@@ -166,7 +166,7 @@ def initialize(left)
166
super(left)
167
168
# By default wildcard routes are non-greedy and must match something.
169
- @regexp = /.+?/
+ @regexp = /.+?/m
170
end
171
172
def star?; true; end
actionpack/lib/action_dispatch/journey/route.rb
@@ -91,7 +91,6 @@ def eager_load!
91
# as requirements.
92
def requirements
93
@defaults.merge(path.requirements).delete_if { |_, v|
94
- /.+?/ == v ||
95
/.+?/m == v
96
}
97
0 commit comments