Allow apostrophes to be included in recipe names

This commit is contained in:
Chris 2020-01-04 22:12:19 +00:00
parent 8ff8532138
commit a362496db2

View File

@ -74,7 +74,7 @@ sub new {
# Formats of accepted types # Formats of accepted types
$self -> {"formats"} = { $self -> {"formats"} = {
"recipename" => '^[-\w,. ]+$', "recipename" => '^[-\w,.\' ]+$',
"tags" => '^[-\w ]+$', "tags" => '^[-\w ]+$',
"quantity" => '^[\d\w./]+$', "quantity" => '^[\d\w./]+$',
"sepname" => '^[-\w,.:()&;#*\ ]{1,255}$', "sepname" => '^[-\w,.:()&;#*\ ]{1,255}$',