diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 20:10:50 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 20:10:50 +0100 |
commit | 35e13e4c9637f5bf7bef6039c8c813207780a174 (patch) | |
tree | f2ea0b1aa455bb2552ffe8a7bb083f24e86d1f34 /src/regint.h | |
parent | db6f38bc1b73930f1da954525464cf1986f43a28 (diff) |
New upstream version 6.9.9upstream/6.9.9upstream
Diffstat (limited to 'src/regint.h')
-rw-r--r-- | src/regint.h | 7 |
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 */ |