mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-27 14:23:56 +00:00
[AB-174] fixing being unable to snooze unreminded reminders
changing new line handling for command parameters
This commit is contained in:
@@ -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<>();
|
||||
|
||||
Reference in New Issue
Block a user