Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Structures

EmEditor Plug-in Reference: MATCH_REGEX_INFO_EX

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Structures

MATCH_REGEX_INFO_EX

Used by Editor_MatchRegex inline function (EE_MATCH_REGEX message).

typedef struct _MATCH_REGEX_INFO_EX {

   size_t cbSize; // sizeof( MATCH_REGEX_INFO_EX )

   UINT64 nFlags;

   LPCWSTR pszRegex;

   LPCWSTR pszText;

   LPCWSTR pszReplace;

   LPWSTR pszResult;

   UINT cchResult;

} MATCH_REGEX_INFO_EX;

 

Members

cbSize

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

nFlags

[in] Specifies a combination of the following values.

FLAG_FIND_CASE

Matches cases.

FLAG_FIND_REGEX_BOOST

Uses Boost.Regex as the regular expression engine.

FLAG_FIND_REGEX_ONIGMO

Uses Onigmo as the regular expression engine.

FLAG_FIND_SEPARATE_CRLF

Treats CR and LF separately.

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 15.7 or later.

Copyright © 2003-2016 by Emurasoft, Inc.