#include <cctype> #include <iostream> using namespace std; bool ismatch(char s1, char s2) { if (isalpha(s1) && isalpha(s2)) return s1 == s2 || (s1 - 'A' == s2 - 'a') || (s1 - 'a' == s2 - 'A'); return s1 == s2 ? true : false; } bool matchstring(string p,string s) { int i = 0, j = ...