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
1 changed files with 1 additions and 1 deletions

View File

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