allow for Umlaut in ref

This commit is contained in:
Alexander Bocken 2021-05-18 03:43:52 +02:00
parent e71e9c9705
commit aa22651467
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -39,7 +39,7 @@ function parseref(ref, arr) {
# 8. <book>/search
# 9. <book>:?<chapter>/search
if (match(ref, "^[1-9]?[a-zA-Z ]+")) {
if (match(ref, "^[1-9]?[a-zA-ZäüöÄÜÖ ]+")) {
# 1, 2, 3, 3a, 4, 5, 6, 8, 9
arr["book"] = substr(ref, 1, RLENGTH)
ref = substr(ref, RLENGTH + 1)