diff --git a/bigbluebutton-html5/imports/ui/components/presentation/service.js b/bigbluebutton-html5/imports/ui/components/presentation/service.js index 378bdeaa4bb017b08e3f59e173273c4e98380a16..7944029a0e4a42af065af0d644db8a88f0534b4b 100755 --- a/bigbluebutton-html5/imports/ui/components/presentation/service.js +++ b/bigbluebutton-html5/imports/ui/components/presentation/service.js @@ -83,7 +83,7 @@ const parseCurrentSlideContent = (yesValue, noValue, trueValue, falseValue) => { let optionsPoll = content.match(pollRegex) || []; if (optionsPoll) optionsPoll = optionsPoll.map(opt => `\r${opt[0]}.`); - const excludePatt = '(?<![1-6A-Fa-f].*)'; + const excludePatt = '[^.)]'; const ynPollString = `(${excludePatt}${yesValue}\\s*\\/\\s*${noValue})|(${excludePatt}${noValue}\\s*\\/\\s*${yesValue})`; const ynOptionsRegex = new RegExp(ynPollString, 'gi'); const ynPoll = content.match(ynOptionsRegex) || [];