oops
This commit is contained in:
parent
26c6ce3e50
commit
a87a770da7
|
@ -1511,7 +1511,7 @@ checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tron"
|
name = "tron"
|
||||||
version = "0.2.4"
|
version = "0.2.5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "tron"
|
name = "tron"
|
||||||
version = "0.2.4"
|
version = "0.2.5"
|
||||||
authors = ["Christine Dodrill <me@christine.website>"]
|
authors = ["Christine Dodrill <me@christine.website>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
repository = "https://tulpa.dev/cadey/tron"
|
repository = "https://tulpa.dev/cadey/tron"
|
||||||
|
|
|
@ -232,7 +232,7 @@ async fn main() -> Result<()> {
|
||||||
log::debug!("{} -> {}", rule.regex, rule.why);
|
log::debug!("{} -> {}", rule.regex, rule.why);
|
||||||
compiled_rules.push(CompiledRule {
|
compiled_rules.push(CompiledRule {
|
||||||
raw: rule.regex.clone(),
|
raw: rule.regex.clone(),
|
||||||
regex: Regex::new(rule.regex.as_str())?,
|
regex: Regex::new(&format!("\\b{}\\b", rule.regex))?,
|
||||||
why: rule.why,
|
why: rule.why,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue