maltize/sublime-text-2-ruby-tests — pull request #140 by markschmidt (2012-12-17 14:42:50+00:00)
Title: fixed non-escaped special char in TestMethodMatcher-regex

There is a small error in the regex matching the block style definition for unittests. I got the following exception:

```
Traceback (most recent call last):
File "./sublime_plugin.py", line 362, in run_
File "./run_ruby_test.py", line 249, in run
File "./run_ruby_test.py", line 192, in run_single_test_command
File "./run_ruby_test.py", line 66, in find_first_match_in
File "./run_ruby_test.py", line 77, in find_first_match
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/re.py", line 142, in search
return _compile(pattern, flags).search(string)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/re.py", line 243, in _compile
raise error, v # invalid expression
sre_constants.error: bad character range
```

The problem was the missing escaping for the "-".