I think it’s probably something related to quoting in the Windows shell/command line. I’m not familiar with the Windows command line, so I’m going to try to help as best I can.
Let’s try to narrow it down to what is causing the problem.
Does it work without the —range-start and —range-end?
Like this: ack google -v --html
Does it work if you have the —range-start and not the —range-end?
Like this: ack google -v --html --range-start='<head'
What if you have the —range-end and not the —range-start?
ack google -v --html --range-end='</head>’
What if you take out the > and < from what you are searching for, like
ack google -v --html --range-start='head' --range-end='/head’
Try different things until you can find out “Aha, this option works, and this one doesn’t”, and then we can go from there.
Andy