I am getting this anti cheat code error even if all the test cases are passing, why?
Hey @Neelesh56789, we’ve got anti-cheat test cases for preventing users from accidentally using built-in regex features or regex libraries (which would defeat the purpose of the
challenge).
These tests aren’t perfect, sometimes it’s possible to implement something that’s not mentioned in the stage instructions that could cause these tests to fail.
Here’s our anti-cheat test for the grep challenge:
grep-tester/internal/anti_cheat_quantifiers.go at main · codecrafters-io/grep-tester · GitHub.
These tests focus on quantifiers, which we expect most users wouldn’t have implemented in their own versions of grep, yet are readily handled by standard libraries.