EmEditor Home - EmEditor Help - Plug-in Reference - Messages


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

    wParam = 0;
    lParam = (LPARAM) (MATCH_REGEX_INFO*) pMatchRegexInfo;



Pointer to the 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 valud is FALSE. If the regular expression has a syntax error or another fatal error occurs, the return value is -1.


Supported on Version 6.00 or later.

Copyright 2003-2015 by Emurasoft, Inc.