3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 18:25:03 +00:00

fix regex

This commit is contained in:
rubyowo 2022-05-20 17:53:23 +04:00
parent ee53e2ddd0
commit 2495336f1c
No known key found for this signature in database
GPG key ID: F07F1FD982838593

View file

@ -84,7 +84,7 @@ export async function matchAndRenderTagFromString(
return null;
}
const tagNameMatch = str.slice(tagPrefix.length).match(/^[a-z0-9_-]*/);
const tagNameMatch = str.slice(tagPrefix.length).match(/^\S+/);
if (tagNameMatch == null) {
return null;
}