Skip to content

Commit 22a3c23

Browse files
regex pattern updated
1 parent 2b644f1 commit 22a3c23

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)