deps/vm: vendor regress 0.11.1 补 Script/Script_Extensions 的 Unknown(Zzzz) 取值——上游表缺未分配码点集取值,规范合法模式 \p{Script=Unknown} 编译期 SyntaxError;fork 纯增量(0 行改动上游行,仅补区间表与解析臂),回归钉四则(未分配匹配/已分配不匹配/sc·scx·Zzzz 别名/既有取值不扰动)

This commit is contained in:
2026-09-13 14:45:33 +00:00
parent c7a9b273fa
commit 29040d429d
36 changed files with 45224 additions and 2 deletions
+34
View File
@@ -0,0 +1,34 @@
[package]
name = "regress"
version = "0.11.1"
authors = ["ridiculousfish <corydoras@ridiculousfish.com>"]
description = "A regular expression engine targeting EcmaScript syntax"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ridiculousfish/regress"
keywords = ["regex", "regexp"]
edition = "2024"
readme = "README.md"
[features]
default = ["backend-pikevm", "std"]
std = ["memchr/std"]
# Enables the PikeVM backend.
backend-pikevm = []
# Prefers indexes to pointers for bytecode IP and string positions, for the paranoid.
index-positions = []
# Prohibits all uses of unsafe code, for the paranoid.
prohibit-unsafe = []
# Enables UTF-16 support. This disables some optimizations, so it should only be used when necessary.
utf16 = []
# Enables Pattern trait implementation for str::find, str::contains, etc.
pattern = []
[dependencies]
hashbrown = "0.16.0"
memchr = { version = "2.4.0", default-features = false }