summaryrefslogtreecommitdiff
path: root/src/regint.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-12-19 08:12:44 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-12-19 08:12:44 +0100
commit7547c5a1405dff1aac1ab054a24907b3ae724c12 (patch)
tree4ca475fcd4511e8cd245ce31349f4efb56089aaf /src/regint.h
parent9d10df3f441724d605cd8729c8e8d3ba1ad816f4 (diff)
parente87df9b5e9eea77d2155767952c996f91b5eebfc (diff)
Merge branch 'release/debian/6.9.9-1'HEADdebian/6.9.9-1master
Diffstat (limited to 'src/regint.h')
-rw-r--r--src/regint.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/regint.h b/src/regint.h
index ee6b02b..32018e3 100644
--- a/src/regint.h
+++ b/src/regint.h
@@ -4,7 +4,7 @@
regint.h - Oniguruma (regular expression library)
**********************************************************************/
/*-
- * Copyright (c) 2002-2021 K.Kosako
+ * Copyright (c) 2002-2023 K.Kosako
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -408,6 +408,7 @@ typedef unsigned int MemStatusType;
#define OPTON_NOT_BEGIN_STRING(option) ((option) & ONIG_OPTION_NOT_BEGIN_STRING)
#define OPTON_NOT_END_STRING(option) ((option) & ONIG_OPTION_NOT_END_STRING)
#define OPTON_NOT_BEGIN_POSITION(option) ((option) & ONIG_OPTION_NOT_BEGIN_POSITION)
+#define OPTON_MATCH_WHOLE_STRING(option) ((option) & ONIG_OPTION_MATCH_WHOLE_STRING)
#define INFINITE_REPEAT -1
@@ -469,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 */