Bug fixes Regexp class is specified

i wrote this tests

    155     d = create_driver(%[
    156       all deny
    157       allow test: /Geck/
    158     ], 'test.input')
    159     d.run do
    160       data.each do |dat|
    161         d.emit dat
    162       end
    163     end
    164     assert_equal 0, d.emits.length
    165
    166     d = create_driver(%[
    167       all allow
    168       deny test: /Geck/
    169     ], 'test.input')
    170     d.run do
    171       data.each do |dat|
    172         d.emit dat
    173       end
    174     end
    175     assert_equal 6, d.emits.length

I'm getting errors at run time

    $ rake test
      1) Error:
    test_emit(Filter):
    NoMethodError: undefined method `match' for nil:NilClass

See a sample of this blog
http://muddydixon.hatenablog.com/entry/2012/08/31/144853

For example, I'm getting errors this message

    echo '{"key1":"key2"}' | fluent-cat test.list -p 9999

fluentd error message

    2013-08-08 19:09:24 +0900 [error]: forward error: undefined method `match' for nil:NilClass