Skip to content

Commit 0dcb87c

Browse files
regex pattern updated
1 parent a69a3d0 commit 0dcb87c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)