mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-12-03 04:27:30 +08:00
- Vendor TRE regex library (BSD-licensed, ~9K LOC) for Windows — eliminates the TODO stub that caused all regex tests to fail - Fix cbm_mkdtemp stack-buffer-overflow: use static buffer for /tmp/ → %TEMP%\ path translation (Windows paths are longer) - Wine test results: 1861 passed, 50 failed (Wine filesystem limits), 75 skipped — remaining failures are Wine-specific, not Windows bugs
28 lines
445 B
C
28 lines
445 B
C
/*
|
|
tre-compile.h: Regex compilation definitions
|
|
|
|
This software is released under a BSD-style license.
|
|
See the file LICENSE for details and copyright.
|
|
|
|
*/
|
|
|
|
|
|
#ifndef TRE_COMPILE_H
|
|
#define TRE_COMPILE_H 1
|
|
|
|
typedef struct {
|
|
int position;
|
|
int code_min;
|
|
int code_max;
|
|
int *tags;
|
|
int assertions;
|
|
tre_ctype_t class;
|
|
tre_ctype_t *neg_classes;
|
|
int backref;
|
|
int *params;
|
|
} tre_pos_and_tags_t;
|
|
|
|
#endif /* TRE_COMPILE_H */
|
|
|
|
/* EOF */
|