Skip to content

Commit

Permalink
Fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Clennett-Sirois committed Apr 28, 2016
1 parent 4c8b739 commit b5e6d94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions minitest.el
Expand Up @@ -110,8 +110,7 @@ The current directory is assumed to be the project's root otherwise."
(save-restriction
(widen)
(end-of-line)
(or (re-search-backward "\\(test\\) '\\([^\"]+?\\)'" nil t)
(re-search-backward "\\(test\\) \"\\([^\"]+?\\)\"" nil t)
(or (re-search-backward "\\(test\\) ['\"]\\([^\"]+?\\)['\"]" nil t)
(re-search-backward "def \\(test\\)_\\([_A-Za-z0-9]+\\)" nil t)
(re-search-backward "\\(it\\) '\\([^\"]+?\\)'" nil t)
(re-search-backward "\\(it\\) \"\\([^\"]+?\\)\"" nil t)))))
Expand Down

0 comments on commit b5e6d94

Please sign in to comment.