risp/data/configs/mschg.toml
philipp b6002526c1
Some checks failed
CI/CD Pipeline / test (push) Failing after 1m40s
Large push
2024-02-27 07:11:34 +01:00

54 lines
1.9 KiB
TOML

[law]
id = 10002180
name = "Markenschutzgesetz"
[[law.classifiers]]
name = "Abschnitt"
is_root = true
match_function = "contains"
[[law.classifiers]]
name = "Number"
is_root = false
match_function = "starts_with_number"
[[law.classifiers]]
name = "Artikel"
is_root = false
match_function = "contains"
[parser]
remove_strings = [
"<i>", "</i>",
"<n>", "</n>",
]
[[parser.replace_rules]]
find = "<super>bis</super>"
replace_with = "bis"
[[parser.replace_rules]]
find = "<super>ter</super>"
replace_with = "ter"
[[parser.replace_rules]]
find = "<gdash />"
replace_with = "-"
[[parser.replace_rules]]
find = "(Anm.: § 69 aufgehoben durch Art. 1 Z 12, BGBl. I Nr. 124/2017)"
replace_with = "<gldsym>§ 69.</gldsym>(Anm.: § 69 aufgehoben durch Art. 1 Z 12, BGBl. I Nr. 124/2017)"
[[parser.replace_rules]]
find = """<ueberschrift typ="art" ct="text" halign="c">(Anm.: aus BGBl. Nr. 350/1977, zu den §§ 11, 33a, 34, 55, BGBl. Nr. 260/1970)</ueberschrift>"""
replace_with = """<ueberschrift typ="para" ct="text" halign="c">(Anm.: aus BGBl. Nr. 350/1977, zu den §§ 11, 33a, 34, 55, BGBl. Nr. 260/1970)</ueberschrift>"""
[[parser.replace_rules]]
find = """<ueberschrift typ="art" ct="text" halign="c">(Anm.: aus BGBl. Nr. 350/1977, zu den §§ 18 Abs. 3, 22, 28 u. 63, BGBl. Nr. 260/1970)</ueberschrift>"""
replace_with = """<ueberschrift typ="para" ct="text" halign="c">(Anm.: aus BGBl. Nr. 350/1977, zu den §§ 18 Abs. 3, 22, 28 u. 63, BGBl. Nr. 260/1970)</ueberschrift>"""
[[parser.replace_rules]]
find = """<ueberschrift typ="art" ct="text" halign="c">(Anm.: aus BGBl. Nr. 653/1987, zu den §§ 18 Abs. 1, 2 u. 4 und den §§ 40 Abs. 1 u. 70 Abs. 1, BGBl. Nr. 260/1970)</ueberschrift>"""
replace_with = """<ueberschrift typ="para" ct="text" halign="c">(Anm.: aus BGBl. Nr. 653/1987, zu den §§ 18 Abs. 1, 2 u. 4 und den §§ 40 Abs. 1 u. 70 Abs. 1, BGBl. Nr. 260/1970)</ueberschrift>"""