-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
"Trailing \ in regex" error when using vcs flag #715
Comments
Give this one a try; works for me in PowerShell. |
Hmmm, by "this one" I meant the lastest on master, https://github.com/AlDanial/cloc/blob/master/cloc |
Thank you for taking care of this so quickly! 🙂 It looks like this fixed the bug in this issue, but now I'm seeing a different one. Let me know if you'd like me to file a new issue for this: ❯ perl cloc --vcs=git src
35 text files.
35 unique files.
0 files ignored.
github.com/AlDanial/cloc v 1.97 T=1.63 s (21.4 files/s, 1534.2 lines/s)
------------------------------------------------------------------------------------
Language files blank comment code
------------------------------------------------------------------------------------
# snip...
------------------------------------------------------------------------------------
SUM: 35 235 191 2082
------------------------------------------------------------------------------------
❯ perl cloc --vcs=git .\src\
0 text files.
0 unique files.
0 files ignored. |
PowerShell isn't doing cloc any favors with the " |
Yes it worked perfectly! Thanks so much for your help looking into this 😄 |
Describe the bug
Running
cloc --vcs=git .\src\
in PowerShell yields this error message:Running the same command without the
vcs
flag works as expected.cloc; OS; OS version
To Reproduce
cloc --vcs=git
.\
and appends\
at the endExpected result
cloc should run as expected.
Additional context
N/A
The text was updated successfully, but these errors were encountered: