middleman/middleman — Issue #287: `page` helper with regex broken in 3.0.0.beta1
Author: jmulder
Created: 2012-02-27 14:52:37+00:00
State: open

```ruby
page "/hello/*" do
set :foo, "bar"
end
```
I remember reading that regex support in the `page` method was accidental, but looking at the current code it seems it should be working fine. Unfortunately, I'm getting the following error when using above's code in `config.rb` and starting Middleman.

```
/Users/jmulder/.rvm/gems/ruby-1.9.3-p0/gems/middleman-core-3.0.0.beta.1/lib/middleman-core/core_extensions/extensions.rb:128:
in `instance_eval': undefined method `split' for /^hello\/(.*)/:Regexp (NoMethodError)
```

Works fine with just `"page /hello/ do ..."` though.