When you type something in the "Find" field, the tool doesn't just look for exact character matches - it follows specific rules that determine what gets found and what doesn't. Understanding these rules helps you get better results and avoid frustration.
The Character-by-Character Scan
The tool reads your text from left to right, checking each position to see if your search term starts there. If you're looking for "cat" in "the cat in the catalog", it finds the first "cat" at position 4, then continues from position 7, finding "cat" again in "catalog". This is why "Replace All" matters - without it, only the first match gets changed.
Case Sensitivity: More Than Just Capital Letters
When case sensitive is off, "Word" matches "word", "WORD", and "WoRd". When it's on, only exact case matches. But here's the catch: some characters have multiple case versions. The German "ß" becomes "SS" when uppercased. The tool handles these special cases properly, so "straße" won't match "STRASSE" in case-sensitive mode, which is actually correct behavior.
Whole Word Boundaries
The whole word option adds invisible boundaries. These boundaries are positions between word characters (letters, numbers, underscores) and non-word characters (spaces, punctuation, line breaks). So "\\bcat\\b" (the technical version) matches "cat" but not "catalog" or "scatter". This prevents accidentally changing parts of larger words.
Overlapping Matches
This is a tricky one. If you search for "aa" in "aaa", you'd think there are two matches (positions 0-1 and 1-2). But most search algorithms, including this one, don't find overlapping matches. After finding "aa" at positions 0-1, it continues from position 2, not position 1. So you only get one match. This is standard behavior but surprises some users.
Pro tip: The match counter updates in real-time. If it shows fewer matches than you expect, check your settings. "Word" with case sensitive on finds 0 matches in "word word WORD", while with it off finds 3. That counter is your best friend for troubleshooting.