Merge pull request #745 from capilkey/change-quickpoll-regex

changed quick poll regex to match only one character
This commit is contained in:
Fred Dixon 2015-08-07 13:16:57 -04:00
commit 7d571de04b

View File

@ -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) {