diff --git a/src/classes/article_id_parser.cr b/src/classes/article_id_parser.cr index 8693ea6..1db19de 100644 --- a/src/classes/article_id_parser.cr +++ b/src/classes/article_id_parser.cr @@ -1,7 +1,7 @@ class ArticleIdParser include Monads - ID_REGEX = /[\/\-]([0-9a-f]+)$/i + ID_REGEX = /[\/\-]([0-9a-f]+)\/?$/i def self.parse(request : HTTP::Request) new.parse(request)