(coded-charset-entity-reference-alist): Add setting for
[chise/xemacs-chise.git.1] / src / regex.h
index d4c2e5a..ae2c910 100644 (file)
@@ -358,9 +358,14 @@ struct re_pattern_buffer
            when it is matched.  */
   RE_TRANSLATE_TYPE translate;
 
-       /* Number of subexpressions found by the compiler.  */
+       /* Number of returnable groups found by the compiler. (This does
+           not count shy groups.) */
   Element_count re_nsub;
 
+       /* Total number of groups found by the compiler. (Including
+          shy ones.) */
+  Element_count re_ngroups;
+
         /* Zero if this pattern cannot match the empty string, one else.
            Well, in truth it's used only in `re_search_2', to see
            whether or not we should use the fastmap, so we don't set
@@ -395,6 +400,12 @@ struct re_pattern_buffer
         /* If true, an anchor at a newline matches.  */
   unsigned newline_anchor : 1;
 
+       /* Mapping between back references and groups (may not be
+          equivalent with shy groups). */
+  int *external_to_internal_register;
+
+  int external_to_internal_register_size;
+
 /* [[[end pattern_buffer]]] */
 };