HexEdit/FindDlg.cpp
void CFindSheet::NewSearch(LPCTSTR ss)
{
	if (strlen(ss) == 0)
		return;
	else if (ss[0] == '~')
	{
		SetMatchCase(FALSE);
		NewText(ss+1);
	}
	else if (ss[0] == '=')
	{
		SetMatchCase(TRUE);
		NewText(ss+1);
	}
	else
	{
		// Must be a hex search
		ASSERT(strspn(ss, "0123456789abcdefABCDEF ?") == strlen(ss));
		NewHex(ss);
	}
}
// Change current search using encoded string as in Find Tool

Change current search using encoded string as in Find Tool
Change current search using encoded string as in Find Tool
void CFindSheet::NewSearch(LPCTSTR ss)
{
	if (strlen(ss) == 0)
		return;
	else if (ss[0] == '~')
	{
		SetMatchCase(FALSE);
		NewText(ss+1);
	}
	else if (ss[0] == '=')
	{
		SetMatchCase(TRUE);
		NewText(ss+1);
	}
	else
	{
		ASSERT(strspn(ss, "0123456789abcdefABCDEF ?") == strlen(ss));
		NewHex(ss);
	}
}
void CFindSheet :: NewSearch ( LPCTSTR ss ) { if ( strlen ( ss ) == 0 ) return ; else if ( ss [ 0 ] == ' ' ) { SetMatchCase ( FALSE ) ; NewText ( ss + 1 ) ; } else if ( ss [ 0 ] == ' ' ) { SetMatchCase ( TRUE ) ; NewText ( ss + 1 ) ; } else { ASSERT ( strspn ( ss , " " ) == strlen ( ss ) ) ; NewHex ( ss ) ; } }
Change current search using encoded string as in Find Tool
Change current search using encoded string as in Find Tool
// Must be a hex search
