mirror of
https://github.com/bellard/quickjs.git
synced 2025-12-31 05:39:10 +03:00
added regexp duplicate named groups - fixed reset of captures with quantizers
This commit is contained in:
@@ -40,6 +40,9 @@
|
||||
#define LRE_RET_MEMORY_ERROR (-1)
|
||||
#define LRE_RET_TIMEOUT (-2)
|
||||
|
||||
/* trailer length after the group name including the trailing '\0' */
|
||||
#define LRE_GROUP_NAME_TRAILER_LEN 2
|
||||
|
||||
uint8_t *lre_compile(int *plen, char *error_msg, int error_msg_size,
|
||||
const char *buf, size_t buf_len, int re_flags,
|
||||
void *opaque);
|
||||
|
||||
Reference in New Issue
Block a user