Skip to content

Instantly share code, notes, and snippets.

@Rican7
Created May 9, 2013 04:10
Show Gist options
  • Save Rican7/5545503 to your computer and use it in GitHub Desktop.
Save Rican7/5545503 to your computer and use it in GitHub Desktop.
Dat Regex
%s/^\(\s\+\)\$this->assertOutputSame(\n\(.\{-}\)\n\(.\{-}\)function (.*) {\n\(.\{-}\)\$this->klein_app->dispatch(\(\(\n\?.*\)\)\n\(.*\));\n.*}\n\(.*\));/\1\$this->assertSame(\r\2\r\3\$this->dispatchAndReturnOutput(\5\r\3)\r\1);/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment