cullmann added reviewers: carewolf, Frameworks. cullmann added a comment.
Hi ;=) I have some dumb javascript / QJSEngine question: With Qt 5.12, the regex above var r = /^(\s*)(([\)\]}]?\s*)*([\)\]]\s*))?;/.exec(prevString); executes successfully on a "prevString" containing ' ok' I am a bit confused, why. The ";" at the end of the regex is not optional, why do I get a non-null r? Funny enough, the full capture r[0] is empty. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D17998 To: cullmann, dhaumann, carewolf, #frameworks Cc: kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann