package seedu.doist.logic.parser;

import java.util.regex.Pattern;

import seedu.doist.logic.parser.ArgumentTokenizer.Prefix;

/**
 * Contains Command Line Interface (CLI) syntax definitions common to multiple commands
 */
public class CliSyntax {

    /* Prefix definitions */
    public static final Prefix PREFIX_PHONE = new Prefix("p/");
    public static final Prefix PREFIX_EMAIL = new Prefix("e/");
    public static final Prefix PREFIX_ADDRESS = new Prefix("a/");
    public static final Prefix PREFIX_TAG = new Prefix("t/");

    /* Patterns definitions */
    public static final Pattern KEYWORDS_ARGS_FORMAT =
            Pattern.compile("(?<keywords>\\S+(?:\\s+\\S+)*)"); // one or more keywords separated by whitespace

}

package seedu.doist.logic.parser;

import java.util.regex.Pattern;

import seedu.doist.logic.parser.ArgumentTokenizer.Prefix;

/**
 * Contains Command Line Interface (CLI) syntax definitions common to multiple commands
 */
public class CliSyntax {

    /* Prefix definitions */
    public static final Prefix PREFIX_FROM = new Prefix("\\from");
    public static final Prefix PREFIX_TO = new Prefix("\\to");
    public static final Prefix PREFIX_REMIND = new Prefix("\\remind_at");
    public static final Prefix PREFIX_EVERY = new Prefix("\\every");
    public static final Prefix PREFIX_AS = new Prefix("\\as");
    public static final Prefix PREFIX_UNDER = new Prefix("\\under");
    public static final Prefix PREFIX_BY = new Prefix("\\by");
    public static final Prefix PREFIX_DESCRIPTION = new Prefix("\\desc");
    public static final Prefix PREFIX_IN = new Prefix("\\in");

    /* Patterns definitions */
    public static final Pattern KEYWORDS_ARGS_FORMAT =
            Pattern.compile("(?<keywords>\\S+(?:\\s+\\S+)*)"); // one or more keywords separated by whitespace

}

Create new keywords for commands
Create new keywords for commands
