We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 865f499 commit 71a0002Copy full SHA for 71a0002
1 file changed
src/main/cljs/cljs/core.cljs
@@ -10535,7 +10535,7 @@ reduces them without incurring seq initialization"
10535
(reify
10536
IMapEntry
10537
(-key [_]
10538
- (cond-> k (some? (.match k #"[A-Za-z_\*\+\?!\-'][\w\*\+\?!\-']*")) keyword))
+ (cond-> k (some? (.match k #"^[A-Za-z_\*\+\?!\-'][\w\*\+\?!\-']*$")) keyword))
10539
(-val [_]
10540
(unchecked-get obj k)))))
10541
pr-writer writer opts))
0 commit comments