Add comment for confusing pattern

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      This code in Tool.java deserves a comment

                  Pattern groupPtn = System.getProperty("os.name").matches("(?i)windows.*")
                          ? Pattern.compile("(|[^A-Za-z]|.{2,}):[A-Za-z0-9_,]+")
                          : Pattern.compile(".*:[A-Za-z0-9_,]+");

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: