--verify-exclude regex is incorrect

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: 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.

            Assignee:
            Ludvig Janiuk (Inactive)
            Reporter:
            Ludvig Janiuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: