Merge pull request #4811 from RaiKoHoff/Dev_Master

new VS2022 version 17.6.0
This commit is contained in:
Rainer Kottenhoff 2023-05-17 09:07:56 +02:00 committed by GitHub
commit cb365427f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 321 additions and 302 deletions

View File

@ -145,7 +145,7 @@
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>src;sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<Optimization>Disabled</Optimization>
@ -153,7 +153,7 @@
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<WarningLevel>Level4</WarningLevel>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<TreatWarningAsError>true</TreatWarningAsError>
<LanguageStandard_C>stdc17</LanguageStandard_C>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
@ -180,7 +180,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<AdditionalIncludeDirectories>sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>src;sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
@ -188,7 +188,7 @@
<PreprocessorDefinitions>WIN64;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<WarningLevel>Level4</WarningLevel>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<TreatWarningAsError>true</TreatWarningAsError>
<LanguageStandard_C>stdc17</LanguageStandard_C>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
@ -214,7 +214,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>src;sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DebugInformationFormat>None</DebugInformationFormat>
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FunctionLevelLinking>true</FunctionLevelLinking>
@ -223,7 +223,7 @@
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<WarningLevel>Level4</WarningLevel>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@ -258,7 +258,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_Dbg|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>src;sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FunctionLevelLinking>true</FunctionLevelLinking>
@ -267,7 +267,7 @@
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<WarningLevel>Level4</WarningLevel>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<TreatWarningAsError>true</TreatWarningAsError>
<LanguageStandard_C>stdc17</LanguageStandard_C>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
@ -297,7 +297,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<AdditionalIncludeDirectories>sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>src;sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DebugInformationFormat>None</DebugInformationFormat>
<FunctionLevelLinking>true</FunctionLevelLinking>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
@ -305,7 +305,7 @@
<PreprocessorDefinitions>WIN64;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<WarningLevel>Level4</WarningLevel>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@ -339,7 +339,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_Dbg|x64'">
<ClCompile>
<AdditionalIncludeDirectories>sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>src;sktoolslib_mod;src\last;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<FunctionLevelLinking>true</FunctionLevelLinking>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
@ -347,7 +347,7 @@
<PreprocessorDefinitions>WIN64;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<WarningLevel>Level4</WarningLevel>
<LanguageStandard>stdcpplatest</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<TreatWarningAsError>true</TreatWarningAsError>
<LanguageStandard_C>stdc17</LanguageStandard_C>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>

View File

@ -1,6 +1,4 @@
[![Build Status](https://travis-ci.org/kkos/oniguruma.svg?branch=master)](https://travis-ci.org/kkos/oniguruma)
[![Code Quality: Cpp](https://img.shields.io/lgtm/grade/cpp/g/kkos/oniguruma.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/kkos/oniguruma/context:cpp)
[![Total Alerts](https://img.shields.io/lgtm/alerts/g/kkos/oniguruma.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/kkos/oniguruma/alerts)
[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/oniguruma.svg)](https://oss-fuzz-build-logs.storage.googleapis.com/index.html#oniguruma)
[![TrustInSoft CI](https://ci.trust-in-soft.com/projects/kkos/oniguruma.svg?branch=master)](https://ci.trust-in-soft.com/projects/kkos/oniguruma)

View File

@ -1,4 +1,4 @@
Oniguruma Regular Expressions Version 6.9.9 2022/08/28
Oniguruma Regular Expressions Version 6.9.9 2023/03/27
syntax: ONIG_SYNTAX_ONIGURUMA (default syntax)

View File

@ -145,9 +145,11 @@ public:
, m_MatchPos(ONIG_MISMATCH)
, m_MatchLen(0)
{
m_OnigSyntax.op |= ONIG_SYN_OP_ESC_LTGT_WORD_BEGIN_END; // xcluded from ONIG_SYNTAX_DEFAULT ?
onig_initialize(s_UsedEncodingsTypes, _ARRAYSIZE(s_UsedEncodingsTypes));
onig_set_default_syntax(NP3_ONIG_SYNTAX_FLAVOR); // std is: ONIG_SYNTAX_ONIGURUMA
m_OnigSyntax.op |= ONIG_SYN_OP_ESC_LTGT_WORD_BEGIN_END; // xcluded from ONIG_SYNTAX_DEFAULT ?
onig_set_default_syntax(&m_OnigSyntax); // std is: ONIG_SYNTAX_ONIGURUMA
onig_region_init(&m_Region);
}
@ -702,7 +704,6 @@ std::string OnigurumaRegExEngine::convertReplExpr(const std::string& replStr)
// ============================================================================
// ============================================================================
@ -721,9 +722,11 @@ public:
, m_MatchPos(ONIG_MISMATCH)
, m_MatchLen(0)
{
m_OnigSyntax.op |= ONIG_SYN_OP_ESC_LTGT_WORD_BEGIN_END; // xcluded from ONIG_SYNTAX_DEFAULT ?
onig_initialize(s_UsedEncodingsTypes, _ARRAYSIZE(s_UsedEncodingsTypes));
onig_set_default_syntax(NP3_ONIG_SYNTAX_FLAVOR); // std is: ONIG_SYNTAX_ONIGURUMA
m_OnigSyntax.op |= ONIG_SYN_OP_ESC_LTGT_WORD_BEGIN_END; // xcluded from ONIG_SYNTAX_DEFAULT ?
onig_set_default_syntax(&m_OnigSyntax); // std is: ONIG_SYNTAX_ONIGURUMA
onig_region_init(&m_Region);
}

View File

@ -4,7 +4,7 @@
regint.h - Oniguruma (regular expression library)
**********************************************************************/
/*-
* Copyright (c) 2002-2022 K.Kosako
* Copyright (c) 2002-2023 K.Kosako
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -470,8 +470,8 @@ typedef Bits* BitSetRef;
/* operation code */
enum OpCode {
OP_FINISH = 0, /* matching process terminator (no more alternative) */
OP_END = 1, /* pattern code terminator (success end) */
OP_STR_1 = 2, /* single byte, N = 1 */
OP_END, /* pattern code terminator (success end) */
OP_STR_1, /* single byte, N = 1 */
OP_STR_2, /* single byte, N = 2 */
OP_STR_3, /* single byte, N = 3 */
OP_STR_4, /* single byte, N = 4 */

View File

@ -2,7 +2,7 @@
regparse.c - Oniguruma (regular expression library)
**********************************************************************/
/*-
* Copyright (c) 2002-2022 K.Kosako
* Copyright (c) 2002-2023 K.Kosako
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -4336,7 +4336,7 @@ quantifier_type_num(QuantNode* q)
enum ReduceType {
RQ_ASIS = 0, /* as is */
RQ_DEL = 1, /* delete parent */
RQ_DEL, /* delete parent */
RQ_A, /* to '*' */
RQ_P, /* to '+' */
RQ_AQ, /* to '*?' */
@ -4473,7 +4473,7 @@ node_new_general_newline(Node** node, ParseEnv* env)
enum TokenSyms {
TK_EOT = 0, /* end of token */
TK_CRUDE_BYTE = 1,
TK_CRUDE_BYTE,
TK_CHAR,
TK_STRING,
TK_CODE_POINT,
@ -6218,8 +6218,20 @@ fetch_token(PToken* tok, UChar** src, UChar* end, ParseEnv* env)
case '-':
case '+':
goto lparen_qmark_num;
if (! PEND) {
PINC;
if (! PEND) {
c = PPEEK;
if (ONIGENC_IS_CODE_DIGIT(enc, c)) {
PUNFETCH;
goto lparen_qmark_num;
}
}
}
p = prev;
goto lparen_qmark_end2;
break;
default:
if (! ONIGENC_IS_CODE_DIGIT(enc, c)) goto lparen_qmark_end;
@ -6252,6 +6264,7 @@ fetch_token(PToken* tok, UChar** src, UChar* end, ParseEnv* env)
}
break;
}
break;
}
else if (c == 'P' &&
IS_SYNTAX_OP2(env->syntax, ONIG_SYN_OP2_QMARK_CAPITAL_P_NAME)) {

View File

@ -578,280 +578,280 @@ extern int main(int argc, char* argv[])
x2("(?:()|()|()|()|()|())*\\2\\5", "", 0, 0);
x2("(?:()|()|()|(x)|()|())*\\2b\\5", "b", 0, 1);
x2("\\xED\\xF2", "\xed\xf2", 0, 2);
x2("", " ", 0, 0);
x2(" ", " ", 0, 2);
n("‚¢", " ");
x2("‚¤‚¤", "‚¤‚¤", 0, 4);
x2("‚ ‚¢‚¤", "‚ ‚¢‚¤", 0, 6);
x2("‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±", "‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±‚±", 0, 70);
x2(" ", "‚¢‚ ", 2, 4);
x2("‚¢‚¤", "‚ ‚¢‚¤", 2, 6);
x2("", "", 0, 0);
x2("", "", 0, 2);
n("", "");
x2("うう", "うう", 0, 4);
x2("あいう", "あいう", 0, 6);
x2("こここここここここここここここここここここここここここここここここここ", "こここここここここここここここここここここここここここここここここここ", 0, 70);
x2("", "いあ", 2, 4);
x2("いう", "あいう", 2, 6);
x2("\\xca\\xb8", "\xca\xb8", 0, 2);
x2(".", " ", 0, 2);
x2("..", "‚©‚«", 0, 4);
x2("\\w", "‚¨", 0, 2);
n("\\W", " ");
x2("[\\W]", "‚¤$", 2, 3);
x2("\\S", "‚»", 0, 2);
x2("\\S", "Š¿", 0, 2);
x2("\\b", "C ", 0, 0);
x2("\\b", " ‚Ù", 1, 1);
x2("\\B", "‚¹‚» ", 2, 2);
x2("\\B", "‚¤ ", 3, 3);
x2("\\B", " ‚¢", 0, 0);
x2("[‚½‚¿]", "‚¿", 0, 2);
n("[‚È‚É]", "‚Ê");
x2("[‚¤-‚¨]", "‚¦", 0, 2);
n("[^‚¯]", "‚¯");
x2("[\\w]", "‚Ë", 0, 2);
n("[\\d]", "‚Ó");
x2("[\\D]", "‚Í", 0, 2);
n("[\\s]", "­");
x2("[\\S]", "‚Ö", 0, 2);
x2("[\\w\\d]", "‚æ", 0, 2);
x2("[\\w\\d]", " ‚æ", 3, 5);
n("\\wSŽÔ", " SŽÔ");
x2("S\\WŽÔ", "S ŽÔ", 0, 5);
x2(" .‚¢.‚¤", "‚ ‚ ‚¢‚¢‚¤", 0, 10);
x2(".\\w‚¤\\W..‚¼", "‚¦‚¤‚¤ ‚¤‚¼‚¼", 0, 13);
x2("\\s\\w‚±‚±‚±", " ‚±‚±‚±‚±", 0, 9);
x2("  .‚¯", "‚ ‚ ‚¯‚¯", 0, 8);
n(".‚¢", "‚¢‚¦");
x2(".‚¨", "‚¨‚¨", 0, 4);
x2("^ ", " ", 0, 2);
x2("^‚Þ$", "‚Þ", 0, 2);
x2("^\\w$", "‚É", 0, 2);
x2("^\\w‚©‚«‚­‚¯‚±$", "z©«­¯±", 0, 11);
x2("^\\w...‚¤‚¦‚¨$", "z ¢¤¤¦¨", 0, 13);
x2("\\w\\w\\s\\W‚¨‚¨‚¨\\d", "a¨ ‚¨‚¨‚¨4", 0, 12);
x2("\\A‚½‚¿‚Â", "‚½‚¿‚Â", 0, 6);
x2("‚Þ‚ß‚à\\Z", "‚Þ‚ß‚à", 0, 6);
x2("‚©‚«‚­\\z", "‚©‚«‚­", 0, 6);
x2("‚©‚«‚­\\Z", "‚©‚«‚­\n", 0, 6);
x2("\\G‚Û‚Ò", "‚Û‚Ò", 0, 4);
n("\\G‚¦", "‚¤‚¦‚¨");
n("‚Æ‚Ä\\G", "‚Æ‚Ä");
n("‚Ü‚Ý\\A", "‚Ü‚Ý");
n("‚Ü\\AÝ", "‚Ü‚Ý");
x2("(?=‚¹)‚¹", "‚¹", 0, 2);
n("(?=‚¤).", "‚¢");
x2("(?!‚¤)‚©", "‚©", 0, 2);
n("(?!‚Æ) ", "‚Æ");
x2("(?i: )", " ", 0, 2);
x2("(?i:‚Ô‚×)", "‚Ô‚×", 0, 4);
n("(?i:‚¢)", "‚¤");
x2("(?m:‚æ.)", "‚æ\n", 0, 3);
x2("(?m:.‚ß)", "‚Ü\n‚ß", 2, 5);
x2(" ?", "", 0, 0);
x2("•Ï?", "‰»", 0, 0);
x2("•Ï?", "•Ï", 0, 2);
x2("—Ê*", "", 0, 0);
x2("—Ê*", "—Ê", 0, 2);
x2("Žq*", "ŽqŽqŽq", 0, 6);
x2("”n*", "Ž­”n”n”n”n", 0, 0);
n("ŽR+", "");
x2("‰Í+", "‰Í", 0, 2);
x2("Žž+", "ŽžŽžŽžŽž", 0, 8);
x2("‚¦+", "‚¦‚¦‚¤‚¤‚¤", 0, 4);
x2("‚¤+", "‚¨‚¤‚¤‚¤‚¤", 2, 10);
x2(".?", "‚½", 0, 2);
x2(".*", "‚ς҂ՂØ", 0, 8);
x2(".+", "‚ë", 0, 2);
x2(".+", "‚¢‚¤‚¦‚©\n", 0, 8);
x2(" |‚¢", " ", 0, 2);
x2(" |‚¢", "‚¢", 0, 2);
x2("‚ ‚¢|‚¢‚¤", "‚ ‚¢", 0, 4);
x2("‚ ‚¢|‚¢‚¤", "‚¢‚¤", 0, 4);
x2("‚ð(?:‚©‚«|‚«‚­)", "‚ð‚©‚«", 0, 6);
x2("‚ð(?:‚©‚«|‚«‚­)‚¯", "‚ð‚«‚­‚¯", 0, 8);
x2("‚ ‚¢|(?:‚ ‚¤|‚ ‚ð)", "‚ ‚ð", 0, 4);
x2(" |‚¢|‚¤", "‚¦‚¤", 2, 4);
x2(" |‚¢|‚¤‚¦|‚¨‚©‚«|­|‚¯‚±‚³|‚µ‚·‚¹|‚»|‚½‚¿|‚‚ĂƂȂÉ|‚Ê‚Ë", "‚µ‚·‚¹", 0, 6);
n(" |‚¢|‚¤‚¦|‚¨‚©‚«|­|‚¯‚±‚³|‚µ‚·‚¹|‚»|‚½‚¿|‚‚ĂƂȂÉ|‚Ê‚Ë", "‚·‚¹");
x2(" |^‚í", "‚Ô‚ ", 2, 4);
x2(" |^‚ð", "‚ð‚ ", 0, 2);
x2("S|\\GŽÔ", "¯ŽÔS", 4, 6);
x2("S|\\GŽÔ", "ŽÔS", 0, 2);
x2("S|\\AŽÔ", "bŽÔS", 3, 5);
x2("S|\\AŽÔ", "ŽÔ", 0, 2);
x2("S|ŽÔ\\Z", "ŽÔS", 2, 4);
x2("S|ŽÔ\\Z", "ŽÔ", 0, 2);
x2("S|ŽÔ\\Z", "ŽÔ\n", 0, 2);
x2("S|ŽÔ\\z", "ŽÔS", 2, 4);
x2("S|ŽÔ\\z", "ŽÔ", 0, 2);
x2("\\w|\\s", "‚¨", 0, 2);
x2("\\w|%", "%‚¨", 0, 1);
x2("\\w|[&$]", "‚¤&", 0, 2);
x2("[‚¢-‚¯]", "‚¤", 0, 2);
x2("[‚¢-‚¯]|[^‚©-‚±]", " ", 0, 2);
x2("[‚¢-‚¯]|[^‚©-‚±]", "‚©", 0, 2);
x2("[^ ]", "\n", 0, 1);
x2("(?: |[‚¤-‚«])|‚¢‚ð", "‚¤‚ð", 0, 2);
x2("(?: |[‚¤-‚«])|‚¢‚ð", "‚¢‚ð", 0, 4);
x2("‚ ‚¢‚¤|(?=‚¯‚¯)..‚Ù", "‚¯‚¯‚Ù", 0, 6);
x2("‚ ‚¢‚¤|(?!‚¯‚¯)..‚Ù", "‚ ‚¢‚Ù", 0, 6);
x2("(?=‚ð‚ ).. |(?=‚ð‚ð).. ", "‚ð‚ð‚ ", 0, 6);
x2("(?<= |‚¢‚¤)‚¢", "‚¢‚¤‚¢", 4, 6);
n("(?> |‚ ‚¢‚¦)‚¤", "‚ ‚¢‚¦‚¤");
x2("(?>‚ ‚¢‚¦| )‚¤", "‚ ‚¢‚¦‚¤", 0, 8);
x2(" ?|‚¢", " ", 0, 2);
x2(" ?|‚¢", "‚¢", 0, 0);
x2(" ?|‚¢", "", 0, 0);
x2(" *|‚¢", "  ", 0, 4);
x2(" *|‚¢*", "‚¢‚ ", 0, 0);
x2(" *|‚¢*", "‚ ‚¢", 0, 2);
x2("[a ]*|‚¢*", "a ¢¢¢", 0, 3);
x2(" +|‚¢*", "", 0, 0);
x2(" +|‚¢*", "‚¢‚¢‚¢", 0, 6);
x2(" +|‚¢*", "‚ ‚¢‚¢‚¢", 0, 2);
x2(" +|‚¢*", "a ¢¢¢", 0, 0);
n(" +|‚¢+", "");
x2("( |‚¢)?", "‚¢", 0, 2);
x2("( |‚¢)*", "‚¢‚ ", 0, 4);
x2("( |‚¢)+", "‚¢‚ ‚¢", 0, 6);
x2("(‚ ‚¢|‚¤‚ )+", "‚¤‚ ‚ ‚¢‚¤‚¦", 0, 8);
x2("(‚ ‚¢|‚¤‚¦)+", "‚¤‚ ‚ ‚¢‚¤‚¦", 4, 12);
x2("(‚ ‚¢|‚¤‚ )+", "‚ ‚ ‚¢‚¤‚ ", 2, 10);
x2("(‚ ‚¢|‚¤‚ )+", "‚ ‚¢‚ð‚¤‚ ", 0, 4);
x2("(‚ ‚¢|‚¤‚ )+", "$$zzzz ¢ð¤ ", 6, 10);
x2("( |‚¢‚ ‚¢)+", "‚ ‚¢‚ ‚¢‚ ", 0, 10);
x2("( |‚¢‚ ‚¢)+", "‚¢‚ ", 2, 4);
x2("( |‚¢‚ ‚¢)+", "‚¢‚ ‚ ‚ ‚¢‚ ", 2, 8);
x2("(?: |‚¢)(?: |‚¢)", "‚ ‚¢", 0, 4);
x2("(?: *|‚¢*)(?: *|‚¢*)", "‚ ‚ ‚ ‚¢‚¢‚¢", 0, 6);
x2("(?: *|‚¢*)(?: +|‚¢+)", "‚ ‚ ‚ ‚¢‚¢‚¢", 0, 12);
x2("(?: +|‚¢+){2}", "‚ ‚ ‚ ‚¢‚¢‚¢", 0, 12);
x2("(?: +|‚¢+){1,2}", "‚ ‚ ‚ ‚¢‚¢‚¢", 0, 12);
x2("(?: +|\\A¢*)‚¤‚¤", "‚¤‚¤", 0, 4);
n("(?: +|\\A¢*)‚¤‚¤", "‚ ‚¢‚¤‚¤");
x2("(?:^ +|‚¢+)*‚¤", "‚ ‚ ‚¢‚¢‚¢‚ ‚¢‚¤", 12, 16);
x2("(?:^ +|‚¢+)*‚¤", "‚ ‚ ‚¢‚¢‚¢‚¢‚¤", 0, 14);
x2("‚¤{0,}", "‚¤‚¤‚¤‚¤", 0, 8);
x2(" |(?i)c", "C", 0, 1);
x2("(?i)c| ", "C", 0, 1);
x2("(?i: )|a", "a", 0, 1);
n("(?i: )|a", "A");
x2("[‚ ‚¢‚¤]?", "‚ ‚¢‚¤", 0, 2);
x2("[‚ ‚¢‚¤]*", "‚ ‚¢‚¤", 0, 6);
x2("[^‚ ‚¢‚¤]*", "‚ ‚¢‚¤", 0, 0);
n("[^‚ ‚¢‚¤]+", "‚ ‚¢‚¤");
x2(" ?\?", "   ", 0, 0);
x2("‚¢‚ ?\?‚¢", "‚¢‚ ‚¢", 0, 6);
x2(" *?", "   ", 0, 0);
x2("‚¢‚ *?", "‚¢‚ ‚ ", 0, 2);
x2("‚¢‚ *?‚¢", "‚¢‚ ‚ ‚¢", 0, 8);
x2(" +?", "   ", 0, 2);
x2("‚¢‚ +?", "‚¢‚ ‚ ", 0, 4);
x2("‚¢‚ +?‚¢", "‚¢‚ ‚ ‚¢", 0, 8);
x2("(?:“V?)?\?", "“V", 0, 0);
x2("(?:“V?\?)?", "“V", 0, 0);
x2("(?:–²?)+?", "–²–²–²", 0, 2);
x2("(?:•—+)?\?", "•—•—•—", 0, 0);
x2("(?:á+)?\?‘š", "ááá‘š", 0, 8);
x2("(?:‚ ‚¢)?{2}", "", 0, 0);
x2("(?:SŽÔ)?{2}", "SŽÔSŽÔS", 0, 8);
x2("(?:SŽÔ)*{0}", "SŽÔSŽÔS", 0, 0);
x2("(?:SŽÔ){3,}", "SŽÔSŽÔSŽÔSŽÔ", 0, 16);
n("(?:SŽÔ){3,}", "SŽÔSŽÔ");
x2("(?:SŽÔ){2,4}", "SŽÔSŽÔSŽÔ", 0, 12);
x2("(?:SŽÔ){2,4}", "SŽÔSŽÔSŽÔSŽÔSŽÔ", 0, 16);
x2("(?:SŽÔ){2,4}?", "SŽÔSŽÔSŽÔSŽÔSŽÔ", 0, 8);
x2("(?:SŽÔ){,}", "SŽÔ{,}", 0, 7);
x2("(?:‚©‚«‚­)+?{2}", "‚©‚«‚­‚©‚«‚­‚©‚«‚­", 0, 12);
x3("(‰Î)", "‰Î", 0, 2, 1);
x3("(‰Î…)", "‰Î…", 0, 4, 1);
x2("((ŽžŠÔ))", "ŽžŠÔ", 0, 4);
x3("((•—…))", "•—…", 0, 4, 1);
x3("((ð“ú))", "ð“ú", 0, 4, 2);
x3("((((((((((((((((((((—ÊŽq))))))))))))))))))))", "—ÊŽq", 0, 4, 20);
x3("(‚ ‚¢)(‚¤‚¦)", "‚ ‚¢‚¤‚¦", 0, 4, 1);
x3("(‚ ‚¢)(‚¤‚¦)", "‚ ‚¢‚¤‚¦", 4, 8, 2);
x3("()( )‚¢‚¤(‚¦‚¨‚©)‚«‚­‚¯‚±", "‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±", 6, 12, 3);
x3("(()( )‚¢‚¤(‚¦‚¨‚©)‚«‚­‚¯‚±)", "‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚±", 6, 12, 4);
x3(".*(ƒtƒH)ƒ“Eƒ}(ƒ“()ƒVƒ…ƒ^)ƒCƒ“", "ƒtƒHƒ“Eƒ}ƒ“ƒVƒ…ƒ^ƒCƒ“", 10, 18, 2);
x2("(^ )", " ", 0, 2);
x3("( )|( )", "‚¢‚ ", 2, 4, 1);
x3("(^ )|( )", "‚¢‚ ", 2, 4, 2);
x3("( ?)", "   ", 0, 2, 1);
x3("(‚Ü*)", "‚܂܂Ü", 0, 6, 1);
x3("(‚Æ*)", "", 0, 0, 1);
x3("(‚é+)", "‚é‚é‚é‚é‚é‚é‚é", 0, 14, 1);
x3("(‚Ó+|‚Ö*)", "‚Ó‚Ó‚Ó‚Ö‚Ö", 0, 6, 1);
x3("( +|‚¢?)", "‚¢‚¢‚¢‚ ‚ ", 0, 2, 1);
x3("(‚ ‚¢‚¤)?", "‚ ‚¢‚¤", 0, 6, 1);
x3("(‚ ‚¢‚¤)*", "‚ ‚¢‚¤", 0, 6, 1);
x3("(‚ ‚¢‚¤)+", "‚ ‚¢‚¤", 0, 6, 1);
x3("(‚³‚µ‚·|‚ ‚¢‚¤)+", "‚ ‚¢‚¤", 0, 6, 1);
x3("([‚ȂɂÊ][‚©‚«‚­]|‚©‚«‚­)+", "‚©‚«‚­", 0, 6, 1);
x3("((?i:‚ ‚¢‚¤))", "‚ ‚¢‚¤", 0, 6, 1);
x3("((?m: .‚¤))", " \n‚¤", 0, 5, 1);
x3("((?=‚ ‚ñ) )", "‚ ‚ñ‚¢", 0, 2, 1);
x3("‚ ‚¢‚¤|(.‚ ‚¢‚¦)", "‚ñ‚ ‚¢‚¦", 0, 8, 1);
x3(" *(.)", "‚ ‚ ‚ ‚ ‚ñ", 8, 10, 1);
x3(" *?(.)", "‚ ‚ ‚ ‚ ‚ñ", 0, 2, 1);
x3(" *?(‚ñ)", "‚ ‚ ‚ ‚ ‚ñ", 8, 10, 1);
x3("[‚¢‚¤‚¦] *(.)", "‚¦‚ ‚ ‚ ‚ ‚ñ", 10, 12, 1);
x3("(\\A‚¢‚¢)‚¤‚¤", "‚¢‚¢‚¤‚¤", 0, 4, 1);
n("(\\A‚¢‚¢)‚¤‚¤", "‚ñ‚¢‚¢‚¤‚¤");
x3("(^‚¢‚¢)‚¤‚¤", "‚¢‚¢‚¤‚¤", 0, 4, 1);
n("(^‚¢‚¢)‚¤‚¤", "‚ñ‚¢‚¢‚¤‚¤");
x3("‚ë‚ë(‚é‚é$)", "‚ë‚ë‚é‚é", 4, 8, 1);
n("‚ë‚ë(‚é‚é$)", "‚ë‚ë‚é‚é‚é");
x2("(–³)\\1", "–³–³", 0, 4);
n("(–³)\\1", "–³•");
x2("(‹ó?)\\1", "‹ó‹ó", 0, 4);
x2("(‹ó?\?)\\1", "‹ó‹ó", 0, 0);
x2("(‹ó*)\\1", "‹ó‹ó‹ó‹ó‹ó", 0, 8);
x3("(‹ó*)\\1", "‹ó‹ó‹ó‹ó‹ó", 0, 4, 1);
x2(" (‚¢*)\\1", "‚ ‚¢‚¢‚¢‚¢", 0, 10);
x2(" (‚¢*)\\1", "‚ ‚¢", 0, 2);
x2("( *)(‚¢*)\\1\\2", "‚ ‚ ‚ ‚¢‚¢‚ ‚ ‚ ‚¢‚¢", 0, 20);
x2("( *)(‚¢*)\\2", "‚ ‚ ‚ ‚¢‚¢‚¢‚¢", 0, 14);
x3("( *)(‚¢*)\\2", "‚ ‚ ‚ ‚¢‚¢‚¢‚¢", 6, 10, 2);
x2("(((((((‚Û*)‚Ø))))))‚Ò\\7", "‚ۂۂۂ؂҂ۂۂÛ", 0, 16);
x3("(((((((‚Û*)‚Ø))))))‚Ò\\7", "‚ۂۂۂ؂҂ۂۂÛ", 0, 6, 7);
x2("(‚Í)(‚Ð)(‚Ó)\\2\\1\\3", "‚͂ЂӂЂ͂Ó", 0, 12);
x2("([‚«-‚¯])\\1", "­­", 0, 4);
x2("(\\w\\d\\s)\\1", " 5  5 ", 0, 8);
n("(\\w\\d\\s)\\1", " 5  5");
x2("(NH|[ -‚¤]{3})\\1", "NHNH", 0, 8);
x2("...(NH|[ -‚¤]{3})\\1", " a NHNH", 0, 13);
x2("(NH|[ -‚¤]{3})\\1", "‚¤‚¢‚¤‚¤‚¢‚¤", 0, 12);
x2("(^‚±)\\1", "‚±‚±", 0, 4);
n("(^‚Þ)\\1", "‚߂ނÞ");
n("( $)\\1", "  ");
n("(‚ ‚¢\\Z)\\1", "‚ ‚¢");
x2("( *\\Z)\\1", " ", 2, 2);
x2(".( *\\Z)\\1", "‚¢‚ ", 2, 4);
x3("(.(‚â‚¢‚ä)\\2)", "zâ¢äâ¢ä", 0, 13, 1);
x3("(.(..\\d.)\\2)", " 12341234", 0, 10, 1);
x2("((?i: v¸))\\1", " v¸ v¸", 0, 10);
x2("(?<‹ð‚©>•Ï|\\(\\g<‹ð‚©>\\))", "((((((•Ï))))))", 0, 14);
x2("\\A(?:\\g<ˆ¢_1>|\\g<‰]_2>|\\zI—¹ (?<ˆ¢_1>ŠÏ|Ž©\\g<‰]_2>Ž©)(?<‰]_2>Ý|•ìŽF\\g<ˆ¢_1>•ìŽF))$", "•ìŽFŽ©•ìŽFŽ©ÝŽ©•ìŽFŽ©•ìŽF", 0, 26);
x2("[[‚ЂÓ]]", "‚Ó", 0, 2);
x2("[[‚¢‚¨‚¤]‚©]", "‚©", 0, 2);
n("[[^ ]]", " ");
n("[^[ ]]", " ");
x2("[^[^ ]]", " ", 0, 2);
x2("[[‚©‚«‚­]&&‚«‚­]", "­", 0, 2);
n("[[‚©‚«‚­]&&‚«‚­]", "‚©");
n("[[‚©‚«‚­]&&‚«‚­]", "‚¯");
x2("[ -‚ñ&&‚¢-‚ð&&‚¤-‚ï]", "‚ï", 0, 2);
n("[^ -‚ñ&&‚¢-‚ð&&‚¤-‚ï]", "‚ï");
x2("[[^ && ]&& -‚ñ]", "‚¢", 0, 2);
n("[[^ && ]&& -‚ñ]", " ");
x2("[[^ -‚ñ&&‚¢‚¤‚¦‚¨]&&[^‚¤-‚©]]", "‚«", 0, 2);
n("[[^ -‚ñ&&‚¢‚¤‚¦‚¨]&&[^‚¤-‚©]]", "‚¢");
x2("[^[^‚ ‚¢‚¤]&&[^‚¤‚¦‚¨]]", "‚¤", 0, 2);
x2("[^[^‚ ‚¢‚¤]&&[^‚¤‚¦‚¨]]", "‚¦", 0, 2);
n("[^[^‚ ‚¢‚¤]&&[^‚¤‚¦‚¨]]", "‚©");
x2("[ -&&- ]", "-", 0, 1);
x2("[^[^a-z‚ ‚¢‚¤]&&[^bcdefg¤¦¨]q-w]", "‚¦", 0, 2);
x2("[^[^a-z‚ ‚¢‚¤]&&[^bcdefg¤¦¨]g-w]", "f", 0, 1);
x2("[^[^a-z‚ ‚¢‚¤]&&[^bcdefg¤¦¨]g-w]", "g", 0, 1);
n("[^[^a-z‚ ‚¢‚¤]&&[^bcdefg¤¦¨]g-w]", "2");
x2("a<b>ƒo[ƒWƒ‡ƒ“̃_ƒEƒ“ƒ[ƒh<\\/b>", "a<b>ƒo[ƒWƒ‡ƒ“̃_ƒEƒ“ƒ[ƒh</b>", 0, 32);
x2(".<b>ƒo[ƒWƒ‡ƒ“̃_ƒEƒ“ƒ[ƒh<\\/b>", "a<b>ƒo[ƒWƒ‡ƒ“̃_ƒEƒ“ƒ[ƒh</b>", 0, 32);
x2(".", "", 0, 2);
x2("..", "かき", 0, 4);
x2("\\w", "", 0, 2);
n("\\W", "");
x2("[\\W]", "$", 2, 3);
x2("\\S", "", 0, 2);
x2("\\S", "", 0, 2);
x2("\\b", " ", 0, 0);
x2("\\b", " ", 1, 1);
x2("\\B", "せそ ", 2, 2);
x2("\\B", " ", 3, 3);
x2("\\B", " ", 0, 0);
x2("[たち]", "", 0, 2);
n("[なに]", "");
x2("[う-お]", "", 0, 2);
n("[^け]", "");
x2("[\\w]", "", 0, 2);
n("[\\d]", "");
x2("[\\D]", "", 0, 2);
n("[\\s]", "");
x2("[\\S]", "", 0, 2);
x2("[\\w\\d]", "", 0, 2);
x2("[\\w\\d]", " ", 3, 5);
n("\\w鬼車", " 鬼車");
x2("\\W車", "鬼 車", 0, 5);
x2("あ.い.う", "ああいいう", 0, 10);
x2(".\\w\\W..ぞ", "えうう うぞぞ", 0, 13);
x2("\\s\\wこここ", " ここここ", 0, 9);
x2("ああ.け", "ああけけ", 0, 8);
n(".", "いえ");
x2(".", "おお", 0, 4);
x2("^", "", 0, 2);
x2("^む$", "", 0, 2);
x2("^\\w$", "", 0, 2);
x2("^\\wかきくけこ$", "zかきくけこ", 0, 11);
x2("^\\w...うえお$", "zあいううえお", 0, 13);
x2("\\w\\w\\s\\Wおおお\\d", "aお おおお4", 0, 12);
x2("\\Aたちつ", "たちつ", 0, 6);
x2("むめも\\Z", "むめも", 0, 6);
x2("かきく\\z", "かきく", 0, 6);
x2("かきく\\Z", "かきく\n", 0, 6);
x2("\\Gぽぴ", "ぽぴ", 0, 4);
n("\\G", "うえお");
n("とて\\G", "とて");
n("まみ\\A", "まみ");
n("\\Aみ", "まみ");
x2("(?=せ)せ", "", 0, 2);
n("(?=う).", "");
x2("(?!う)か", "", 0, 2);
n("(?!と)あ", "");
x2("(?i:あ)", "", 0, 2);
x2("(?i:ぶべ)", "ぶべ", 0, 4);
n("(?i:い)", "");
x2("(?m:よ.)", "\n", 0, 3);
x2("(?m:.め)", "\n", 2, 5);
x2("?", "", 0, 0);
x2("変?", "", 0, 0);
x2("変?", "", 0, 2);
x2("*", "", 0, 0);
x2("量*", "", 0, 2);
x2("子*", "子子子", 0, 6);
x2("馬*", "鹿馬馬馬馬", 0, 0);
n("+", "");
x2("河+", "", 0, 2);
x2("時+", "時時時時", 0, 8);
x2("え+", "ええううう", 0, 4);
x2("う+", "おうううう", 2, 10);
x2(".?", "", 0, 2);
x2(".*", "ぱぴぷぺ", 0, 8);
x2(".+", "", 0, 2);
x2(".+", "いうえか\n", 0, 8);
x2("あ|い", "", 0, 2);
x2("あ|い", "", 0, 2);
x2("あい|いう", "あい", 0, 4);
x2("あい|いう", "いう", 0, 4);
x2("を(?:かき|きく)", "をかき", 0, 6);
x2("を(?:かき|きく)け", "をきくけ", 0, 8);
x2("あい|(?:あう|あを)", "あを", 0, 4);
x2("あ|い|う", "えう", 2, 4);
x2("あ|い|うえ|おかき|く|けこさ|しすせ|そ|たち|つてとなに|ぬね", "しすせ", 0, 6);
n("あ|い|うえ|おかき|く|けこさ|しすせ|そ|たち|つてとなに|ぬね", "すせ");
x2("あ|^わ", "ぶあ", 2, 4);
x2("あ|^を", "をあ", 0, 2);
x2("鬼|\\G車", "け車鬼", 4, 6);
x2("鬼|\\G車", "車鬼", 0, 2);
x2("鬼|\\A車", "b車鬼", 3, 5);
x2("鬼|\\A車", "", 0, 2);
x2("鬼|車\\Z", "車鬼", 2, 4);
x2("鬼|車\\Z", "", 0, 2);
x2("鬼|車\\Z", "\n", 0, 2);
x2("鬼|車\\z", "車鬼", 2, 4);
x2("鬼|車\\z", "", 0, 2);
x2("\\w|\\s", "", 0, 2);
x2("\\w|%", "%", 0, 1);
x2("\\w|[&$]", "&", 0, 2);
x2("[い-け]", "", 0, 2);
x2("[い-け]|[^か-こ]", "", 0, 2);
x2("[い-け]|[^か-こ]", "", 0, 2);
x2("[^]", "\n", 0, 1);
x2("(?:あ|[う-き])|いを", "うを", 0, 2);
x2("(?:あ|[う-き])|いを", "いを", 0, 4);
x2("あいう|(?=けけ)..ほ", "けけほ", 0, 6);
x2("あいう|(?!けけ)..ほ", "あいほ", 0, 6);
x2("(?=をあ)..あ|(?=をを)..あ", "ををあ", 0, 6);
x2("(?<=あ|いう)い", "いうい", 4, 6);
n("(?>あ|あいえ)う", "あいえう");
x2("(?>あいえ|あ)う", "あいえう", 0, 8);
x2("あ?|い", "", 0, 2);
x2("あ?|い", "", 0, 0);
x2("あ?|い", "", 0, 0);
x2("あ*|い", "ああ", 0, 4);
x2("あ*|い*", "いあ", 0, 0);
x2("あ*|い*", "あい", 0, 2);
x2("[aあ]*|い*", "aあいいい", 0, 3);
x2("あ+|い*", "", 0, 0);
x2("あ+|い*", "いいい", 0, 6);
x2("あ+|い*", "あいいい", 0, 2);
x2("あ+|い*", "aあいいい", 0, 0);
n("あ+|い+", "");
x2("(あ|い)?", "", 0, 2);
x2("(あ|い)*", "いあ", 0, 4);
x2("(あ|い)+", "いあい", 0, 6);
x2("(あい|うあ)+", "うああいうえ", 0, 8);
x2("(あい|うえ)+", "うああいうえ", 4, 12);
x2("(あい|うあ)+", "ああいうあ", 2, 10);
x2("(あい|うあ)+", "あいをうあ", 0, 4);
x2("(あい|うあ)+", "$$zzzzあいをうあ", 6, 10);
x2("(あ|いあい)+", "あいあいあ", 0, 10);
x2("(あ|いあい)+", "いあ", 2, 4);
x2("(あ|いあい)+", "いあああいあ", 2, 8);
x2("(?:あ|い)(?:あ|い)", "あい", 0, 4);
x2("(?:あ*|い*)(?:あ*|い*)", "あああいいい", 0, 6);
x2("(?:あ*|い*)(?:あ+|い+)", "あああいいい", 0, 12);
x2("(?:あ+|い+){2}", "あああいいい", 0, 12);
x2("(?:あ+|い+){1,2}", "あああいいい", 0, 12);
x2("(?:あ+|\\Aい*)うう", "うう", 0, 4);
n("(?:あ+|\\Aい*)うう", "あいうう");
x2("(?:^あ+|い+)*う", "ああいいいあいう", 12, 16);
x2("(?:^あ+|い+)*う", "ああいいいいう", 0, 14);
x2("う{0,}", "うううう", 0, 8);
x2("|(?i)c", "C", 0, 1);
x2("(?i)c|", "C", 0, 1);
x2("(?i:)|a", "a", 0, 1);
n("(?i:)|a", "A");
x2("[あいう]?", "あいう", 0, 2);
x2("[あいう]*", "あいう", 0, 6);
x2("[^あいう]*", "あいう", 0, 0);
n("[^あいう]+", "あいう");
x2("あ?\?", "あああ", 0, 0);
x2("いあ?\?い", "いあい", 0, 6);
x2("あ*?", "あああ", 0, 0);
x2("いあ*?", "いああ", 0, 2);
x2("いあ*?い", "いああい", 0, 8);
x2("あ+?", "あああ", 0, 2);
x2("いあ+?", "いああ", 0, 4);
x2("いあ+?い", "いああい", 0, 8);
x2("(?:天?)?\?", "", 0, 0);
x2("(?:天?\?)?", "", 0, 0);
x2("(?:夢?)+?", "夢夢夢", 0, 2);
x2("(?:風+)?\?", "風風風", 0, 0);
x2("(?:雪+)?\?霜", "雪雪雪霜", 0, 8);
x2("(?:あい)?{2}", "", 0, 0);
x2("(?:鬼車)?{2}", "鬼車鬼車鬼", 0, 8);
x2("(?:鬼車)*{0}", "鬼車鬼車鬼", 0, 0);
x2("(?:鬼車){3,}", "鬼車鬼車鬼車鬼車", 0, 16);
n("(?:鬼車){3,}", "鬼車鬼車");
x2("(?:鬼車){2,4}", "鬼車鬼車鬼車", 0, 12);
x2("(?:鬼車){2,4}", "鬼車鬼車鬼車鬼車鬼車", 0, 16);
x2("(?:鬼車){2,4}?", "鬼車鬼車鬼車鬼車鬼車", 0, 8);
x2("(?:鬼車){,}", "鬼車{,}", 0, 7);
x2("(?:かきく)+?{2}", "かきくかきくかきく", 0, 12);
x3("(火)", "", 0, 2, 1);
x3("(火水)", "火水", 0, 4, 1);
x2("((時間))", "時間", 0, 4);
x3("((風水))", "風水", 0, 4, 1);
x3("((昨日))", "昨日", 0, 4, 2);
x3("((((((((((((((((((((量子))))))))))))))))))))", "量子", 0, 4, 20);
x3("(あい)(うえ)", "あいうえ", 0, 4, 1);
x3("(あい)(うえ)", "あいうえ", 4, 8, 2);
x3("()(あ)いう(えおか)きくけこ", "あいうえおかきくけこ", 6, 12, 3);
x3("(()(あ)いう(えおか)きくけこ)", "あいうえおかきくけこ", 6, 12, 4);
x3(".*(フォ)ン・マ(ン()シュタ)イン", "フォン・マンシュタイン", 10, 18, 2);
x2("(^あ)", "", 0, 2);
x3("(あ)|(あ)", "いあ", 2, 4, 1);
x3("(^あ)|(あ)", "いあ", 2, 4, 2);
x3("(あ?)", "あああ", 0, 2, 1);
x3("(ま*)", "ままま", 0, 6, 1);
x3("(*)", "", 0, 0, 1);
x3("(る+)", "るるるるるるる", 0, 14, 1);
x3("(ふ+|へ*)", "ふふふへへ", 0, 6, 1);
x3("(あ+|い?)", "いいいああ", 0, 2, 1);
x3("(あいう)?", "あいう", 0, 6, 1);
x3("(あいう)*", "あいう", 0, 6, 1);
x3("(あいう)+", "あいう", 0, 6, 1);
x3("(さしす|あいう)+", "あいう", 0, 6, 1);
x3("([なにぬ][かきく]|かきく)+", "かきく", 0, 6, 1);
x3("((?i:あいう))", "あいう", 0, 6, 1);
x3("((?m:あ.う))", "\n", 0, 5, 1);
x3("((?=あん)あ)", "あんい", 0, 2, 1);
x3("あいう|(.あいえ)", "んあいえ", 0, 8, 1);
x3("あ*(.)", "ああああん", 8, 10, 1);
x3("あ*?(.)", "ああああん", 0, 2, 1);
x3("あ*?(ん)", "ああああん", 8, 10, 1);
x3("[いうえ]あ*(.)", "えああああん", 10, 12, 1);
x3("(\\Aいい)うう", "いいうう", 0, 4, 1);
n("(\\Aいい)うう", "んいいうう");
x3("(^いい)うう", "いいうう", 0, 4, 1);
n("(^いい)うう", "んいいうう");
x3("ろろ(るる$)", "ろろるる", 4, 8, 1);
n("ろろ(るる$)", "ろろるるる");
x2("(無)\\1", "無無", 0, 4);
n("(無)\\1", "無武");
x2("(空?)\\1", "空空", 0, 4);
x2("(空?\?)\\1", "空空", 0, 0);
x2("(空*)\\1", "空空空空空", 0, 8);
x3("(空*)\\1", "空空空空空", 0, 4, 1);
x2("あ(い*)\\1", "あいいいい", 0, 10);
x2("あ(い*)\\1", "あい", 0, 2);
x2("(あ*)(い*)\\1\\2", "あああいいあああいい", 0, 20);
x2("(あ*)(い*)\\2", "あああいいいい", 0, 14);
x3("(あ*)(い*)\\2", "あああいいいい", 6, 10, 2);
x2("(((((((ぽ*)ぺ))))))ぴ\\7", "ぽぽぽぺぴぽぽぽ", 0, 16);
x3("(((((((ぽ*)ぺ))))))ぴ\\7", "ぽぽぽぺぴぽぽぽ", 0, 6, 7);
x2("(は)(ひ)(ふ)\\2\\1\\3", "はひふひはふ", 0, 12);
x2("([き-け])\\1", "くく", 0, 4);
x2("(\\w\\d\\s)\\1", "あ5 あ5 ", 0, 8);
n("(\\w\\d\\s)\\1", "あ5 あ5");
x2("(誰?|[あ-う]{3})\\1", "誰?誰?", 0, 8);
x2("...(誰?|[あ-う]{3})\\1", "あaあ誰", 0, 13);
x2("(誰?|[あ-う]{3})\\1", "ういうういう", 0, 12);
x2("(^こ)\\1", "ここ", 0, 4);
n("(^む)\\1", "めむむ");
n("(あ$)\\1", "ああ");
n("(あい\\Z)\\1", "あい");
x2("(あ*\\Z)\\1", "", 2, 2);
x2(".(あ*\\Z)\\1", "いあ", 2, 4);
x3("(.(やいゆ)\\2)", "zやいゆやいゆ", 0, 13, 1);
x3("(.(..\\d.)\\2)", "12341234", 0, 10, 1);
x2("((?i:あvず))\\1", "あvずあvず", 0, 10);
x2("(?<愚か>変|\\(\\g<愚か>\\))", "((((((変))))))", 0, 14);
x2("\\A(?:\\g<阿_1>|\\g<云_2>|\\z終了 (?<阿_1>観|自\\g<云_2>自)(?<云_2>在|菩薩\\g<阿_1>菩薩))$", "菩薩自菩薩自在自菩薩自菩薩", 0, 26);
x2("[[ひふ]]", "", 0, 2);
x2("[[いおう]か]", "", 0, 2);
n("[[^あ]]", "");
n("[^[あ]]", "");
x2("[^[^あ]]", "", 0, 2);
x2("[[かきく]&&きく]", "", 0, 2);
n("[[かきく]&&きく]", "");
n("[[かきく]&&きく]", "");
x2("[あ-ん&&い-を&&う-ゑ]", "", 0, 2);
n("[^あ-ん&&い-を&&う-ゑ]", "");
x2("[[^あ&&あ]&&あ-ん]", "", 0, 2);
n("[[^あ&&あ]&&あ-ん]", "");
x2("[[^あ-ん&&いうえお]&&[^う-か]]", "", 0, 2);
n("[[^あ-ん&&いうえお]&&[^う-か]]", "");
x2("[^[^あいう]&&[^うえお]]", "", 0, 2);
x2("[^[^あいう]&&[^うえお]]", "", 0, 2);
n("[^[^あいう]&&[^うえお]]", "");
x2("[あ-&&-あ]", "-", 0, 1);
x2("[^[^a-zあいう]&&[^bcdefgうえお]q-w]", "", 0, 2);
x2("[^[^a-zあいう]&&[^bcdefgうえお]g-w]", "f", 0, 1);
x2("[^[^a-zあいう]&&[^bcdefgうえお]g-w]", "g", 0, 1);
n("[^[^a-zあいう]&&[^bcdefgうえお]g-w]", "2");
x2("a<b>バージョンのダウンロード<\\/b>", "a<b>バージョンのダウンロード</b>", 0, 32);
x2(".<b>バージョンのダウンロード<\\/b>", "a<b>バージョンのダウンロード</b>", 0, 32);
fprintf(stdout,
"\nRESULT SUCC: %d, FAIL: %d, ERROR: %d (by Oniguruma %s)\n",
nsucc, nfail, nerror, onig_version());

View File

@ -7814,7 +7814,8 @@ void EditMarkAll(LPCWSTR wchFind, int sFlags, DocPos rangeStart, DocPos rangeEnd
SciCall_MarkerAdd(SciCall_LineFromPosition(iPos), MARKER_NP3_OCCURRENCE);
}
++count;
if (!found && ((iSelStart <= end) && (start <= iSelEnd))) { // intersect
if (!found && ((iSelStart <= end) && (start <= iSelEnd))) {
// intersect = (max_p(iSelStart, start) < min_p(iSelEnd, end))
found = count;
}
start = end;

View File

@ -148,7 +148,11 @@ inline LPCWSTR _Win10BuildToReleaseId(const DWORD build)
#undef VER_CPL
#if defined(_MSC_VER)
#if (_MSC_VER == 1935)
#if (_MSC_VER == 1936)
#if (_MSC_FULL_VER >= 193632532)
#define VER_CPL MS Visual C++ 2022 v17.6.0
#endif
#elif (_MSC_VER == 1935)
#if (_MSC_FULL_VER >= 193532217)
#define VER_CPL MS Visual C++ 2022 v17.5.(4-5)
#elif (_MSC_FULL_VER >= 193532216)