mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-09 14:22:15 +00:00
Let's filter out the \r part of ye olde DOS newline in config.
This commit is contained in:
@@ -27,7 +27,7 @@ import java.util.regex.Pattern;
|
||||
|
||||
public class ConfigurationParser {
|
||||
private static final Pattern LINE = Pattern.compile("(?:clear\\s+([^=]+))|(?:(\\S*?)\\s*([-+]?=)\\s*(.*?))");
|
||||
private static final Pattern NEWLINE_FINDER = Pattern.compile("^[\t ]*(.*?)[\t ]*$", Pattern.MULTILINE);
|
||||
private static final Pattern NEWLINE_FINDER = Pattern.compile("^[\t ]*(.*?)[\t\r ]*$", Pattern.MULTILINE);
|
||||
|
||||
private ConfigurationProblemReporter reporter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user