The Everything_GetRegex function returns the regex state.
BOOL Everything_GetRegex(void);
The return value is the regex state.
The function returns TRUE if regex is enabled.
The function returns FALSE if regex is disabled.
The default state is FALSE.
BOOL bRegex = Everything_GetRegex();