cf-tool icon indicating copy to clipboard operation
cf-tool copied to clipboard

CF Tool panic

Open GoodCoder666 opened this issue 4 years ago • 5 comments

The console looks like this:

C:\Users\admin>cf config
panic: regexp: Compile(`E:\C++\CodeForces/contest/((?P<contestID>\d+)/((?P<problemID>\w+)/)?)?`): error parsing regexp: invalid escape sequence: `\C`

GoodCoder666 avatar Jan 26 '21 03:01 GoodCoder666

E:\C++\CodeForces/contest/

Try This part to :

E:/C++/CodeForces/contest/

Siddhant-K-code avatar Jan 31 '21 23:01 Siddhant-K-code

Thanks! Now I've removed the configuration file and set the path to E:/C++/CodeForces/contest/. But I think this is a bug of cf-tool because using backslash as path seperators is valid on Windows. I'll keep this issue open until the bug is fixed.

GoodCoder666 avatar Feb 05 '21 03:02 GoodCoder666

backslash as path seperators

btw I am not sure about it, but VSCode also doesn't accept it!!

Siddhant-K-code avatar Feb 05 '21 05:02 Siddhant-K-code

Thanks! Now I've removed the configuration file and set the path to E:/C++/CodeForces/contest/. But I think this is a bug of cf-tool because using backslash as path seperators is valid on Windows. I'll keep this issue open until the bug is fixed.

where is the configuration file located?

cosenza987 avatar Jul 16 '21 01:07 cosenza987