Fix jshint issue with [^] in regexp.

This commit is contained in:
Robin Ward 2013-03-01 15:15:37 -05:00
parent d410f043a9
commit 3901ddd153

View File

@ -9,7 +9,7 @@
**/
Discourse.BBCode = {
QUOTE_REGEXP: /\[quote=([^\]]*)\]((?:[^](?!\[quote=[^\]]*\]))*?)\[\/quote\]/im,
QUOTE_REGEXP: /\[quote=([^\]]*)\]((?:[\s\S](?!\[quote=[^\]]*\]))*?)\[\/quote\]/im,
// Define our replacers
replacers: {