Skip to content

StringArgumentType with regex #96

@NgLoader

Description

@NgLoader

Adding in StringArgumentType a regex method for regex input verification.

Example:

LiteralArgumentBuilder.literal("example")
	.then(RequierdArgumentBuilder.argument("date", StringArgumentType.regex("REGEX")))

Example:

  • /example 04-27-2000
  • /example 04.27.2000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions