From 6b7c8996e3ebb9cdb4b30a10376e5987a26056d7 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 12 Sep 2023 22:41:29 +0200 Subject: [PATCH] LazEdit: TRegExpr back to ansichar --- components/lazedit/xregexpr.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lazedit/xregexpr.pas b/components/lazedit/xregexpr.pas index 95946c1784..306e9b7c86 100644 --- a/components/lazedit/xregexpr.pas +++ b/components/lazedit/xregexpr.pas @@ -80,7 +80,7 @@ interface {$INLINE ON} {$ENDIF} // ======== Define options for TRegExpr engine -{$DEFINE UnicodeRE} // Use WideChar for characters and UnicodeString/WideString for strings +{disable $DEFINE UnicodeRE} // Use WideChar for characters and UnicodeString/WideString for strings { off $DEFINE UnicodeEx} // Support Unicode >0xFFFF, e.g. emoji, e.g. "." must find 2 WideChars of 1 emoji { off $DEFINE UseWordChars} // Use WordChars property, otherwise fixed list 'a'..'z','A'..'Z','0'..'9','_' { off $DEFINE UseSpaceChars} // Use SpaceChars property, otherwise fixed list