From 4490a444a90051dafa16d1a0d934b2663a9c6427 Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Tue, 7 Jan 2020 00:20:41 +0100 Subject: [PATCH] Allow dots in identifiers --- modules/common/src/main/scala/docspell/common/Ident.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/common/src/main/scala/docspell/common/Ident.scala b/modules/common/src/main/scala/docspell/common/Ident.scala index 199bd225..e17d54f0 100644 --- a/modules/common/src/main/scala/docspell/common/Ident.scala +++ b/modules/common/src/main/scala/docspell/common/Ident.scala @@ -15,7 +15,7 @@ object Ident { implicit val identEq: Eq[Ident] = Eq.by(_.id) - val chars: Set[Char] = (('A' to 'Z') ++ ('a' to 'z') ++ ('0' to '9') ++ "-_").toSet + val chars: Set[Char] = (('A' to 'Z') ++ ('a' to 'z') ++ ('0' to '9') ++ "-_.").toSet def randomUUID[F[_]: Sync]: F[Ident] = Sync[F].delay(unsafe(UUID.randomUUID.toString))