adjust field name regexp

This commit is contained in:
Pete Matsyburka
2024-07-12 17:44:39 +03:00
parent 78b1864d7d
commit f10e941529
+1 -1
View File
@@ -4,7 +4,7 @@ module Templates
module FindAcroFields
PDF_CONTENT_TYPE = 'application/pdf'
FIELD_NAME_REGEXP = /\A(?=.*\p{L})[\p{L}\d\s]+\z/
FIELD_NAME_REGEXP = /\A(?=.*\p{L})[\p{L}\d\s-]+\z/
SKIP_FIELD_DESCRIPTION = %w[undefined].freeze
module_function