add medieng
Some checks failed
CI/CD Pipeline / deploy-main (push) Failing after 2m4s

This commit is contained in:
philipp 2024-02-19 16:34:23 +01:00
parent 4cbca021d4
commit e59555156d
2 changed files with 25 additions and 5 deletions

10
Cargo.lock generated
View File

@ -74,9 +74,9 @@ dependencies = [
[[package]]
name = "anyhow"
version = "1.0.79"
version = "1.0.80"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca"
checksum = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1"
[[package]]
name = "autocfg"
@ -534,7 +534,7 @@ dependencies = [
[[package]]
name = "risp"
version = "0.1.0"
source = "git+https://git.hofer.link/philipp/risp.git#7d216039643741545c041dce44d244ba746140ba"
source = "git+https://git.hofer.link/philipp/risp.git#fac2be0ed4e0fb2903fb376ecc338c065853c142"
dependencies = [
"clap",
"directories",
@ -589,9 +589,9 @@ dependencies = [
[[package]]
name = "ryu"
version = "1.0.16"
version = "1.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c"
checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
[[package]]
name = "scopeguard"

20
laws/medieng.toml Normal file
View File

@ -0,0 +1,20 @@
[law]
id = 10000719
name = "Mediengesetz"
[[law.classifiers]]
name = "Abschnitt"
is_root = true
match_function = "contains_case_sensitive"
[[law.classifiers]]
name = "Unterabschnitt"
is_root = false
match_function = "contains"
[parser]
remove_strings = [
"<b>", "</b>",
"<i>", "</i>",
"<super>", "</super>",
]