Skip to content

Commit 773725e

Browse files
committed
refines rege without dotall flag
1 parent 5eb9c44 commit 773725e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/modules/Stream/CypherFrame/gqlStatusUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const formatPropertyFromStatusDescripton = (
3131
): string | undefined => {
3232
const matches =
3333
gqlStatusDescription?.match(
34-
/^(?:(?:error|info|warn):\s)?(.+?)(?:\.(.+?))?\.?$/s
34+
/^(?:(?:error|info|warn):\s)?([\s\S]+?)(?:\.([\s\S]+?))?\.?$/
3535
) ?? []
3636

3737
return matches[index] === undefined

0 commit comments

Comments
 (0)