Skip to content

Commit

Permalink
adjust field name regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
omohokcoj committed Jul 12, 2024
1 parent 78b1864 commit f10e941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/templates/find_acro_fields.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f10e941

Please sign in to comment.