Skip to content

Commit 0dcb87c

Browse files
regex pattern updated
1 parent a69a3d0 commit 0dcb87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontend/src/services/PlanDataService.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ export class PlanDataService {
792792
if (!source) return null;
793793

794794
// question=( "...") OR ('...')
795-
const questionRegex = /question=(?:"((?:\\.|[^"])*)"|'((?:\\.|[^'])*)')/;
795+
const questionRegex = /question=(?:"((?:[^"\\]|\\.)*)"|'((?:[^'\\]|\\.)*)')/;
796796
const qMatch = source.match(questionRegex);
797797
if (!qMatch) return null;
798798

0 commit comments

Comments
 (0)