Fix GUID regex
This commit is contained in:
parent
0b07b36017
commit
92dc8b0277
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ module Validation
|
||||||
# Special chars aren't allowed at the end.
|
# Special chars aren't allowed at the end.
|
||||||
class Guid
|
class Guid
|
||||||
# Allowed chars to validate a GUID with a regex
|
# Allowed chars to validate a GUID with a regex
|
||||||
VALID_CHARS = "[0-9A-Za-z\\-_@.:]{15,254}[0-9a-z]".freeze
|
VALID_CHARS = "[0-9A-Za-z\\-_@.:]{15,254}[0-9A-Za-z]".freeze
|
||||||
|
|
||||||
# The error key for this rule
|
# The error key for this rule
|
||||||
# @return [Symbol] error key
|
# @return [Symbol] error key
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue