Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903885

--verify-exclude regex is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      The regex used to verify problemlist lines:

              private static final String commalist = "([\\w-]+)(,[\\w-]+)*";
              private static Pattern pattern = Pattern.compile("\\S+\\s+" + commalist + "\\s" + commalist + ".*");

      Is missing a plus for the spaces in the middle. More than one whitespace should be okay.

            lujaniuk Ludvig Janiuk
            lujaniuk Ludvig Janiuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: