2024-02-06 11:18:40 +01:00
|
|
|
[law]
|
|
|
|
id = 10002296
|
2024-02-17 10:40:00 +01:00
|
|
|
name = "StGB"
|
2024-02-06 11:18:40 +01:00
|
|
|
|
|
|
|
[[law.classifiers]]
|
|
|
|
name = "Teil"
|
|
|
|
is_root = true
|
|
|
|
match_function = "contains"
|
|
|
|
|
|
|
|
[[law.classifiers]]
|
|
|
|
name = "Abschnitt"
|
|
|
|
is_root = false
|
|
|
|
match_function = "contains"
|
|
|
|
|
|
|
|
[parser]
|
|
|
|
remove_strings = [
|
|
|
|
"<i>", "</i>",
|
|
|
|
"<n>", "</n>",
|
|
|
|
"<b>", "</b>",
|
|
|
|
"<super>", "</super>",
|
|
|
|
"""<abstand ct="text" halign="l" />"""
|
|
|
|
]
|
|
|
|
|
2024-02-06 14:33:42 +01:00
|
|
|
[[parser.replace_rules]]
|
|
|
|
find = """<ueberschrift typ="g2" ct="text" halign="c">Erster Abschnitt</ueberschrift>"""
|
|
|
|
replace_with = """<ueberschrift typ="g1" ct="text" halign="c">Erster Abschnitt</ueberschrift>"""
|
|
|
|
|
2024-02-06 11:18:40 +01:00
|
|
|
[[parser.replace_rules]]
|
|
|
|
find = """<ueberschrift typ="g1min" ct="text" halign="c">Allgemeine Bestimmungen</ueberschrift>"""
|
|
|
|
replace_with = """<ueberschrift typ="g2" ct="text" halign="c">Allgemeine Bestimmungen</ueberschrift>"""
|
|
|
|
|
|
|
|
[[parser.replace_rules]]
|
|
|
|
find = """<ueberschrift typ="para" ct="text" halign="c">1. Verwertungsrechte.</ueberschrift>"""
|
|
|
|
replace_with = """<ueberschrift typ="g1" ct="text" halign="c">1. Verwertungsrechte.</ueberschrift>"""
|
|
|
|
|
|
|
|
[[parser.replace_rules]]
|
|
|
|
find = """<ueberschrift typ="g1min" ct="text" halign="c">Strafbare Handlungen gegen Leib und Leben</ueberschrift>"""
|
|
|
|
replace_with = """<ueberschrift typ="g2" ct="text" halign="c">Strafbare Handlungen gegen Leib und Leben</ueberschrift>"""
|
|
|
|
|
|
|
|
[[parser.replace_rules]]
|
|
|
|
find = "<gdash />"
|
|
|
|
replace_with = "-"
|
|
|
|
|