drowsy-probius / twitch-icon-selector

Found unnecessary escape characters JS-0097
Anti-pattern
Minor
a year ago2 years old
Unnecessary escape character: \[.
303        insertTextToInputArea("crolldelay=");
304        return;
305      }
306      const doCloseMqTag = text.match(/\[mq(.*)?\]([^\[]*)$/gi);307      if(doCloseMqTag)
308      {
309        insertTextToInputArea(" [/mq]");
Unnecessary escape character: \
231   * 순서 상관 없이 하려면 속성 값 부분 통채로 함수에 넘겨서 처리하도록 하면 됨.  
232   * 
233   *  */ 
234  text = text.replace(/\[mq( direction=[^\ ]*)?( behavior=[^\ ]*)?( loop=[^\ ]*)?( scrollamount=[^\ ]*)?( scrolldelay=[^\ ]*)?\](.+)\[\/mq\]/gi, replaceMarquee);235
236  return text;
237}
Unnecessary escape character: \
231   * 순서 상관 없이 하려면 속성 값 부분 통채로 함수에 넘겨서 처리하도록 하면 됨.  
232   * 
233   *  */ 
234  text = text.replace(/\[mq( direction=[^\ ]*)?( behavior=[^\ ]*)?( loop=[^\ ]*)?( scrollamount=[^\ ]*)?( scrolldelay=[^\ ]*)?\](.+)\[\/mq\]/gi, replaceMarquee);235
236  return text;
237}
Unnecessary escape character: \
231   * 순서 상관 없이 하려면 속성 값 부분 통채로 함수에 넘겨서 처리하도록 하면 됨.  
232   * 
233   *  */ 
234  text = text.replace(/\[mq( direction=[^\ ]*)?( behavior=[^\ ]*)?( loop=[^\ ]*)?( scrollamount=[^\ ]*)?( scrolldelay=[^\ ]*)?\](.+)\[\/mq\]/gi, replaceMarquee);235
236  return text;
237}
Unnecessary escape character: \
231   * 순서 상관 없이 하려면 속성 값 부분 통채로 함수에 넘겨서 처리하도록 하면 됨.  
232   * 
233   *  */ 
234  text = text.replace(/\[mq( direction=[^\ ]*)?( behavior=[^\ ]*)?( loop=[^\ ]*)?( scrollamount=[^\ ]*)?( scrolldelay=[^\ ]*)?\](.+)\[\/mq\]/gi, replaceMarquee);235
236  return text;
237}