public static void processSyntaxError(String patternPrefix, ExternalProcessOutput output, CodePanel codePanel) {
        String text = output == null ? "" : output.getStderrString();
        Pattern messageWithLocationPattern = Pattern.compile(patternPrefix + MESSAGE_WITH_LOCATION_REGEX, Pattern.UNIX_LINES);
        Matcher messageWithLocationMatcher = messageWithLocationPattern.matcher(text);
        Pattern messagePattern = Pattern.compile(patternPrefix + MESSAGE_REGEX, Pattern.UNIX_LINES);