Editor_MatchRegex

Determines whether a string matches a specified regular expression. You can use this inline function or explicitly send the EE_MATCH_REGEX message.

Editor_MatchRegex( HWND hwnd, MATCH_REGEX_INFO_EX* pMatchRegexInfo );

Parameters

hwnd

Specifies the window handle of the view or frame of EmEditor.

pMatchRegexInfo

Pointer to the MATCH_REGEX_INFO_EX structure or MATCH_REGEX_INFO structure.

Return Values

If a string matches the specified regular expression, the return value is TRUE. If a string does not match the specified regular expression, the return value is FALSE. If the regular expression has a syntax error or another fatal error occurs, the return value is -1.

Version

Supported on Version 6.00 or later.