* Example:
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^
+ * ^
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^
+ * ^
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^
+ * ^
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^ MISMATCH
+ * ^ MISMATCH
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^
+ * ^
*
* candidate: hi ev every onyx one
- * ^^
+ * ^^
* pattern: hi*every*one
- * ^^
+ * ^^
*
* candidate: hi ev every onyx one
- * ^ ^
+ * ^ ^
* pattern: hi*every*one
- * ^ ^ MISMATCH
+ * ^ ^ MISMATCH
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^ MISMATCH
+ * ^ MISMATCH
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^ MISMATCH
+ * ^ MISMATCH
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^
+ * ^
*
* candidate: hi ev every onyx one
- * ^^
+ * ^^
* pattern: hi*every*one
- * ^^
+ * ^^
*
* candidate: hi ev every onyx one
- * ^ ^
+ * ^ ^
* pattern: hi*every*one
- * ^ ^
+ * ^ ^
*
* candidate: hi ev every onyx one
- * ^ ^
+ * ^ ^
* pattern: hi*every*one
- * ^ ^
+ * ^ ^
*
* candidate: hi ev every onyx one
- * ^ ^
+ * ^ ^
* pattern: hi*every*one
- * ^ ^
+ * ^ ^
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^
+ * ^
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^ MISMATCH
+ * ^ MISMATCH
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^
+ * ^
*
* candidate: hi ev every onyx one
- * ^^
+ * ^^
* pattern: hi*every*one
- * ^^
+ * ^^
*
* candidate: hi ev every onyx one
- * ^ ^
+ * ^ ^
* pattern: hi*every*one
- * ^ ^ MISMATCH
+ * ^ ^ MISMATCH
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^ MISMATCH
+ * ^ MISMATCH
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^ MISMATCH
+ * ^ MISMATCH
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^ MISMATCH
+ * ^ MISMATCH
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^ MISMATCH
+ * ^ MISMATCH
*
* candidate: hi ev every onyx one
- * ^
+ * ^
* pattern: hi*every*one
- * ^
+ * ^
*
* candidate: hi ev every onyx one
- * ^^
+ * ^^
* pattern: hi*every*one
- * ^^
+ * ^^
*
* candidate: hi ev every onyx one
- * ^ ^
+ * ^ ^
* pattern: hi*every*one
- * ^ ^
+ * ^ ^
*
* candidate: hi ev every onyx one
- * ^ ^
+ * ^ ^
* pattern: hi*every*one
- * ^ ^ SUCCESS
+ * ^ ^ SUCCESS
*/
while (c != '\0') {
if (p == '\0') {