feat(regex): add host-backed groups, alternation and captures

This commit is contained in:
Marqdo Agent committed 2026-11-21 10:58:06 +08:00
1 parent 94a13880c4
commit 28b178fc70
16 files changed
+289 -8

No files matched your search

+5 -1
View File
@@ -27,4 +27,8 @@ import:
**`不支持 = regex.匹配("(a)", "a")`**
*[星号.value, 加号.value, 锚点.value, 类.value, 否定类.value, 任意.value, 可选.value, 转义.value, 搜索.value, 无效.ok, 无效.code, 不支持.code]*
**扩展 = regex.扩展匹配("^(a+)(b|c)$", "aab")**
**捕获 = regex.捕获("^(a+)(b|c)$", "aab")**
*[星号.value, 加号.value, 锚点.value, 类.value, 否定类.value, 任意.value, 可选.value, 转义.value, 搜索.value, 无效.ok, 无效.code, 不支持.code, 扩展.value, 捕获.value.matched, 捕获.value.groups]*