cpangrep icon indicating copy to clipboard operation
cpangrep copied to clipboard

Documentation typo? "\." should be "."

Open benkasminbullock opened this issue 9 years ago • 3 comments

In the documentation, http://grep.cpan.me/about

For example -dist=perl to exclude perl, file:.xs to search only XS files or -file:"ppport.h" to exclude ppport.h.

However, that doesn't work:

http://grep.cpan.me/?q=SvPV_const+-file%3A%22ppport%5C.h%22

returns lots of ppport.h results.

The correct syntax seems to be

SvPV_const -file:"ppport.h"

which gives the correct results:

http://grep.cpan.me/?q=SvPV_const+-file%3A%22ppport.h%22

not containing ppport.h results.

It looks like either file names are not regular expressions or possibly this may be a more serious issue if file names are supposed to be regexes.

benkasminbullock avatar Nov 24 '15 00:11 benkasminbullock

Closing due to lack of response.

benkasminbullock avatar Oct 23 '18 23:10 benkasminbullock

I'd like to see this fixed still. Please reopen?

karenetheridge avatar Oct 24 '18 00:10 karenetheridge

OK but I'm unsubscribing from this discussion, so I won't be able to close it again unless you email me.

benkasminbullock avatar Oct 24 '18 00:10 benkasminbullock