Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some nimgrep issues #989

ephja opened this issue Mar 10, 2014 · 1 comment


None yet
4 participants
Copy link

commented Mar 10, 2014

nimgrep ".*" system.nim yields nothing.
nimgrep "a.*" system.nim Works.
nimgrep ".*a" system.nim Works too.
nimgrep ".*$" system.nim Continually prints the last line in the file.

This doesn't seem to work as expected:

nimgrep -r --confirm "(....)(....)" "$1 test $2" system.nim
     2:  * Copyright (c) 2003, 2007 Matteo Frigo
     -> system.nimight (c) 2003, 2007 Matteo Frigo
     [a]bort; [y]es, a[l]l, [n]o, non[e]:

I was just trying to figure out how to reference groups in the replacement string, at which point I noticed that the file/directory positional argument was being treated as something else.

@Araq Araq added major and removed major labels Mar 22, 2014


This comment has been minimized.

Copy link

commented Jun 19, 2018

Still happen

@krux02 krux02 added nimgrep and removed Tools labels Oct 28, 2018

@Araq Araq closed this in bd5dd2b Jan 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.