Using the search bar to search for exact code

How do I use the search bar at the Home to search for exact code?
I want to check repl.it to see if my students are plagiarizing other people’s code by searching for their interesting code snippets.

I want to find-
if “_” != secret

But when I type in the code segment to search and check the “Exact Match”, repl.it finds the union of all the words in the search phrase. 240 million hits, including if, secret, and so on.

All I want to find is the exact phrase and nothing else. How do I do that?

it works for me?


Could you explain further?

Hello there! It may be hard to find if your students are plagiarising, because there are many exact copies of that line of code in different projects.