Add kartellg & faster deploy
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 27m27s

This commit is contained in:
2024-10-17 16:01:10 +02:00
parent 0c2fc02464
commit 556017f553
2 changed files with 24 additions and 1 deletions

23
laws/kartellg.toml Normal file
View File

@ -0,0 +1,23 @@
[law]
id = 20004174
name = "Kartellgesetz 2005"
[[law.classifiers]]
name = "Hauptstück"
is_root = true
match_function = "contains"
[[law.classifiers]]
name = "Abschnitt"
is_root = false
match_function = "contains"
[parser]
remove_strings = [
"<i>", "</i>"
]
[[parser.replace_rules]]
find = "<gdash />" # Should be at the same level as the other "Theil"e
replace_with = "-"