mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 10:15:53 +00:00
Let's filter out the \r part of ye olde DOS newline in config.
This commit is contained in:
1 parent
cec8705c3b
commit
ddd4e1feae
1 file changed
+1
-1
@@ -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