MATCH_REGEX_INFO

Used by Editor_MatchRegex inline function ( EE_MATCH_REGEX message). This structure is obsolete. Newer plug-ins should use the MATCH_REGEX_INFO_EX structure instead.

typedef struct _MATCH_REGEX_INFO {
	size_t cbSize; // sizeof( MATCH_REGEX_INFO )
	UINT nFlags;
	LPCWSTR pszRegex;
	LPCWSTR pszText;
	LPCWSTR pszReplace;
	LPWSTR pszResult;
	UINT cchResult;
} MATCH_REGEX_INFO;

Members

cbSize

[in] Size of this data structure, in bytes. Set this member to sizeof( MATCH_REGEX_INFO ) before sending the EE_MATCH_REGEX message.

nFlags

[in] Specifies a combination of the following values.

FLAG_FIND_CASE

Matches cases.

pszRegex

[in] Specifies a regular expression to search for.

pszText

[in] Specifies a string to search.

pszReplace

[in] Specifies a replace expression.

pszResult

[out] Specifies a pointer to the buffer to receive the replaced string.

cchResult

[in] Specifies the size of the buffer in characters.

Version

Supported on Version 6.00 or later.