Created
November 14, 2009 07:35
-
-
Save dann/234428 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/.vim/autoload/libperl.vim b/.vim/autoload/libperl.vim | |
| index 1992fbf..541f3c9 100644 | |
| --- a/.vim/autoload/libperl.vim | |
| +++ b/.vim/autoload/libperl.vim | |
| @@ -257,7 +257,7 @@ endf | |
| " @file: | |
| fun! libperl#grep_file_functions(file) | |
| - let out = system('grep -oP "(?<=^sub )\w+" ' . a:file ) | |
| + let out = system('grep -oE "?^sub \w+" ' . a:file . " | sed -e \"s/^sub //\"" ) | |
| return split( out , "\n" ) | |
| endf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment