This commit is contained in:
parent
2b72ad6296
commit
bd69a183c0
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -547,7 +547,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#8314b5a61dfafb40da425f31eddd6ad6e25e6d15"
|
source = "git+https://git.hofer.link/philipp/risp.git#c7711b111ad1f6e0ea41b7555efaa0ae48e4550b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"directories",
|
"directories",
|
||||||
|
35
laws/bvg.toml
Normal file
35
laws/bvg.toml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[law]
|
||||||
|
id = 10000138
|
||||||
|
name = "BVG"
|
||||||
|
par_sign = "Artikel"
|
||||||
|
|
||||||
|
[[law.classifiers]]
|
||||||
|
name = "Hauptstück"
|
||||||
|
is_root = true
|
||||||
|
match_function = "contains"
|
||||||
|
|
||||||
|
[[law.classifiers]]
|
||||||
|
name = "letter"
|
||||||
|
is_root = false
|
||||||
|
match_function = "starts_with_uppercaseletter"
|
||||||
|
|
||||||
|
[[law.classifiers]]
|
||||||
|
name = "numbering"
|
||||||
|
is_root = false
|
||||||
|
match_function = "starts_with_number"
|
||||||
|
|
||||||
|
|
||||||
|
[parser]
|
||||||
|
remove_strings = [
|
||||||
|
"<tab />",
|
||||||
|
"<br />",
|
||||||
|
"<b>", "</b>",
|
||||||
|
"<i>", "</i>",
|
||||||
|
"<n>", "</n>",
|
||||||
|
"<super>", "</super>",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[parser.replace_rules]]
|
||||||
|
find = "<gdash />"
|
||||||
|
replace_with = "-"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user