mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
This commit was generated by cvs2svn to compensate for changes in r11,
which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
62e41d3f2e
commit
7ea2ceddb8
79 changed files with 8922 additions and 8253 deletions
9
regex.h
9
regex.h
|
@ -30,6 +30,7 @@
|
|||
|
||||
#define BYTEWIDTH 8
|
||||
|
||||
#define RE_REG_MAX ((1<<BYTEWIDTH)-1)
|
||||
|
||||
/* Maximum number of duplicates an interval can allow. */
|
||||
#ifndef RE_DUP_MAX
|
||||
|
@ -55,11 +56,6 @@ extern long re_syntax_options;
|
|||
If not set, \| serves as the `or'-operator, and | is a literal. */
|
||||
#define RE_NO_BK_VBAR (1L << 1)
|
||||
|
||||
/* If this bit is not set, plain + or ? serves as an operator, and \+, \? are
|
||||
literals.
|
||||
If set, \+, \? are operators and plain +, ? are literals. */
|
||||
#define RE_BK_PLUS_QM (1L << 2)
|
||||
|
||||
/* If this bit is set, | binds tighter than ^ or $.
|
||||
If not set, the contrary. */
|
||||
#define RE_TIGHT_VBAR (1L << 3)
|
||||
|
@ -207,8 +203,9 @@ struct re_pattern_buffer
|
|||
comparing, or zero for no translation.
|
||||
The translation is applied to a pattern when it is
|
||||
compiled and to data when it is matched. */
|
||||
char *must; /* Pointer to exact pattern which strings should have
|
||||
to be matched. */
|
||||
|
||||
|
||||
long re_nsub; /* Number of subexpressions found by the compiler. */
|
||||
char fastmap_accurate;
|
||||
/* Set to zero when a new pattern is stored,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue