added RegExp 'd' flag (bnoordhuis)

This commit is contained in:
Fabrice Bellard
2023-12-27 17:19:44 +01:00
parent 5fc27dc7cf
commit a47f40cde8
5 changed files with 143 additions and 58 deletions

View File

@@ -36,6 +36,7 @@
#define LRE_FLAG_DOTALL (1 << 3)
#define LRE_FLAG_UTF16 (1 << 4)
#define LRE_FLAG_STICKY (1 << 5)
#define LRE_FLAG_INDICES (1 << 6) /* Unused by libregexp, just recorded. */
#define LRE_FLAG_NAMED_GROUPS (1 << 7) /* named groups are present in the regexp */