JSToolNpp 1.16 Released》上有 6 条评论

  1. JSFormat mangles regular expression

    What steps will reproduce the problem?
    1. JSFormat the following:
    var n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//;

    What is the expected output? What do you see instead?
    expected:
    var n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//;
    seen:
    var n = /\/\*[^*]*\*+([^/ * ][^ * ] * \ * + ) * \ //;

    What version of the product are you using? On what operating system?
    1.16.0.0 unicode

  2. Hi, I found a bug in JSformat. I have a loop:
    do {
    } while ()

    When the “while ()” part is missing and I try to use JSFormat, whole notepad++ crashes.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>