[AB-174] fixing being unable to snooze unreminded reminders

changing new line handling for command parameters
This commit is contained in:
Sheldan
2021-05-02 23:01:33 +02:00
parent a05393eb96
commit 3b2216201d
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ import java.util.regex.Pattern;
@Getter
public class UnParsedCommandParameter {
private static Pattern SPLIT_REGEX = Pattern.compile("\"([^\"]*)\"|(\\S+\\n*)");
private static Pattern SPLIT_REGEX = Pattern.compile("\"([^\"]*)\"|([\\S\\n]+)");
public UnParsedCommandParameter(String parameters, Message message) {
this.parameters = new ArrayList<>();