From 445b37616d3726c1c973832f1c1c9dc46b002245 Mon Sep 17 00:00:00 2001 From: Chad Pilkey Date: Fri, 7 Aug 2015 13:13:13 -0400 Subject: [PATCH] changed quick poll regex to match only one character --- .../org/bigbluebutton/modules/polling/views/QuickPollButton.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/polling/views/QuickPollButton.as b/bigbluebutton-client/src/org/bigbluebutton/modules/polling/views/QuickPollButton.as index fc37be3cbe..e325c17569 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/polling/views/QuickPollButton.as +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/polling/views/QuickPollButton.as @@ -30,7 +30,7 @@ package org.bigbluebutton.modules.polling.views { } private function parseSlideText(text:String):void { - var regEx:RegExp = new RegExp("\n[^\s]+[\.\)]", "g"); + var regEx:RegExp = new RegExp("\n[^\s][\.\)]", "g"); var matchedArray:Array = text.match(regEx); LOGGER.debug("Parse Result: {0} {1}", [matchedArray.length, matchedArray.join(" ")]); if (matchedArray.length > 1) {