diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 20:27:13 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 20:27:13 +0100 |
commit | acb44b8740ce860a4905a47f84520f132c6f76ac (patch) | |
tree | 4cc2df0d5849dc8ec395282157528a35e2b1829c /src/regsyntax.c | |
parent | c9281d179754ffffe24ba9a718d2c4f2e1b4bd5e (diff) | |
parent | e81090b75cd330ee5201f56e40d9424a1fc31a6a (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/regsyntax.c')
-rw-r--r-- | src/regsyntax.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/regsyntax.c b/src/regsyntax.c index 8e1c313..d9cbfb3 100644 --- a/src/regsyntax.c +++ b/src/regsyntax.c @@ -49,7 +49,7 @@ OnigSyntaxType OnigSyntaxPosixBasic = { ( SYN_POSIX_COMMON_OP | ONIG_SYN_OP_ESC_LPAREN_SUBEXP | ONIG_SYN_OP_ESC_BRACE_INTERVAL ) , 0 - , 0 + , ( ONIG_SYN_BRE_ANCHOR_AT_EDGE_OF_SUBEXP ) , ( ONIG_OPTION_SINGLELINE | ONIG_OPTION_MULTILINE ) , { @@ -113,7 +113,8 @@ OnigSyntaxType OnigSyntaxGrep = { ONIG_SYN_OP_ESC_W_WORD | ONIG_SYN_OP_ESC_B_WORD_BOUND | ONIG_SYN_OP_ESC_LTGT_WORD_BEGIN_END | ONIG_SYN_OP_DECIMAL_BACKREF ) , 0 - , ( ONIG_SYN_ALLOW_EMPTY_RANGE_IN_CC | ONIG_SYN_NOT_NEWLINE_IN_NEGATIVE_CC ) + , ( ONIG_SYN_ALLOW_EMPTY_RANGE_IN_CC | ONIG_SYN_NOT_NEWLINE_IN_NEGATIVE_CC | + ONIG_SYN_BRE_ANCHOR_AT_EDGE_OF_SUBEXP ) , ONIG_OPTION_NONE , { |