yegappan/grep

s:parseArgs() incorrectly separates the pattern from filenames

lucianposton opened this issue · 0 comments

See #10

s:parseArgs() incorrectly assumes that the first non-option argument is the entire search pattern. Vim's <f-args> doesn't handle quotes like shell quoting does, unfortunately, making this assumption in s:parseArgs() incorrect.