We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79d5c46 commit 5f69058Copy full SHA for 5f69058
crates/shadowsocks-service/src/acl/mod.rs
@@ -192,7 +192,7 @@ impl ParsingRules {
192
fn add_regex_rule(&mut self, mut rule: String) {
193
static TREE_SET_RULE_EQUIV: Lazy<Regex> = Lazy::new(|| {
194
RegexBuilder::new(
195
- r#"^(?:(?:\((?:\?:)?\^\|\\\.\)|(?:\^\.(?:\+|\*))?\\\.)((?:[\w-]+(?:\\\.)?)+)|\^((?:[\w-]+(?:\\\.)?)+))\$$"#,
+ r#"^(?:(?:\((?:\?:)?\^\|\\\.\)|(?:\^\.(?:\+|\*))?\\\.)((?:[\w-]+(?:\\\.)?)+)|\^((?:[\w-]+(?:\\\.)?)+))\$?$"#,
196
)
197
.unicode(false)
198
.build()
0 commit comments