flosse / sloc

simple tool to count SLOC (source lines of code)
MIT License
944 stars 84 forks source link

regex not working #71

Open qiluo opened 8 years ago

qiluo commented 8 years ago

I used following regex to exclude multiple folders

sloc -e ^(build|gradle)$
sloc -e /^(build|gradle)$/

I only got bash: syntax error near unexpected token('`

I'm on 0.1.10 sloc and Windows please help me, thanks

erquhart commented 8 years ago

Wrap your regex in quotes.