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

cf not working due wrong path!!! #123

Open
saurabh021120 opened this issue Jan 12, 2021 · 2 comments
Open

cf not working due wrong path!!! #123

saurabh021120 opened this issue Jan 12, 2021 · 2 comments

Comments

@saurabh021120
Copy link

panic: regexp: Compile(C:\Users\saura\Desktop\IMP\CS PROGRAMS\Codeforces/contest/((?P<contestID>\d+)/((?P<problemID>\w+)/)?)?): error parsing regexp: invalid escape sequence: \U

goroutine 1 [running]:
regexp.MustCompile(0xc0000400e0, 0x66, 0xc000107c38)
/usr/local/go/src/regexp/regexp.go:311 +0x159
github.com/xalanq/cf-tool/cmd.parsePath(0xc00000b080, 0x27, 0x7bb84a)
/Users/xalanq/go/src/github.com/xalanq/cf-tool/cmd/args.go:225 +0x2c7
github.com/xalanq/cf-tool/cmd.parseArgs(0xc000175bc0, 0x7375e0, 0xc000051ee0)
/Users/xalanq/go/src/github.com/xalanq/cf-tool/cmd/args.go:93 +0x8f0
github.com/xalanq/cf-tool/cmd.Eval(0xc000175bc0, 0x1a, 0xc0001cc320)
/Users/xalanq/go/src/github.com/xalanq/cf-tool/cmd/cmd.go:23 +0x7e
main.main()
/Users/xalanq/go/src/github.com/xalanq/cf-tool/cf.go:160 +0x2d1
I am getting the following error message can you please help me?

@GoodCoder666
Copy link

I have the same problem.
Here is it

@Siddhant-K-code
Copy link

C:\Users\saura\Desktop\IMP\CS PROGRAMS\Codeforces/contest/((?P\d+)/((?P\w+)/)?)?

Try Changing that path to :

C:/Users/saura\Desktop/IMP/CS PROGRAMS/Codeforces/contest/((?P<contestID>\d+)/((?P<problemID>\w+)/)?)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants