From 0b5236988b5f6ebe2a55b72247f59d40593158ab Mon Sep 17 00:00:00 2001 From: shubhamgupta Date: Fri, 15 Nov 2024 11:29:10 +0530 Subject: [PATCH] changes --- .../hypertrace/core/documentstore/model/subdoc/SubDocument.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document-store/src/main/java/org/hypertrace/core/documentstore/model/subdoc/SubDocument.java b/document-store/src/main/java/org/hypertrace/core/documentstore/model/subdoc/SubDocument.java index bae4df67..77b30ced 100644 --- a/document-store/src/main/java/org/hypertrace/core/documentstore/model/subdoc/SubDocument.java +++ b/document-store/src/main/java/org/hypertrace/core/documentstore/model/subdoc/SubDocument.java @@ -19,7 +19,7 @@ public class SubDocument { private static final Set IMPLICIT_PATHS = Set.of(CREATED_TIME, LAST_UPDATED_TIME); private static final Pattern ALLOWED_CHARACTERS = - Pattern.compile("^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"); + Pattern.compile("^[a-zA-Z0-9_-]+(.[a-zA-Z0-9_-]+)*$"); String path;