fix regexp field types

This commit is contained in:
Pete Matsyburka
2025-12-01 10:09:27 +02:00
parent f4552dbaa8
commit 53fae56c51
+3 -6
View File
@@ -21,8 +21,7 @@ module Templates
date
| signed\sat
| datum
)
\s*[:-]?\s*\z
)[:_\s-]*\z
/ix
NUMBER_REGEXP = /
@@ -40,8 +39,7 @@ module Templates
| menge
| anzahl
| stückzahl
)
\s*[:-]?\s*\z
)[:_\s-]*\z
/ix
SIGNATURE_REGEXP = /
@@ -54,8 +52,7 @@ module Templates
| unterschrift
| unterschreiben
| unterzeichnen
)
\s*[:-]?\s*\z
)[:_\s-]*\z
/ix
LINEBREAK = ["\n", "\r"].freeze