Merge branch 'main' of ssh://git.hofer.link:2222/philipp/website-risg
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 6m12s

This commit is contained in:
Marie Birner 2024-02-19 17:10:31 +01:00
commit 819e23a99f
3 changed files with 26 additions and 6 deletions

10
Cargo.lock generated
View File

@ -74,9 +74,9 @@ dependencies = [
[[package]] [[package]]
name = "anyhow" name = "anyhow"
version = "1.0.79" version = "1.0.80"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" checksum = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1"
[[package]] [[package]]
name = "autocfg" name = "autocfg"
@ -534,7 +534,7 @@ dependencies = [
[[package]] [[package]]
name = "risp" name = "risp"
version = "0.1.0" 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 = [ dependencies = [
"clap", "clap",
"directories", "directories",
@ -589,9 +589,9 @@ dependencies = [
[[package]] [[package]]
name = "ryu" name = "ryu"
version = "1.0.16" version = "1.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
[[package]] [[package]]
name = "scopeguard" name = "scopeguard"

View File

@ -5,7 +5,7 @@ name = "ABGB"
[[law.classifiers]] [[law.classifiers]]
name = "Theil" name = "Theil"
is_root = true is_root = true
match_function = "containsCaseSensitive" match_function = "contains_case_sensitive"
[[law.classifiers]] [[law.classifiers]]
name = "Abtheilung" name = "Abtheilung"

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>",
]