Argument-Regex
Despite its legacy name, Argument-Regex is not evaluated as a regular expression. CommandPrompter trims the value and uses only its first and last characters as the opening and closing prompt delimiters. The middle characters are ignored.
Argument-Regex: <.*?>Type: String of at least three characters
Default:
<.*?>Effective delimiters:
<and>
Examples:
<.*?>
<prompt>
{.*?}
{prompt}
[.*?]
[prompt]
(anything)
(prompt)
Each delimiter must be one character. An invalid value logs an error and falls back to < >. Run /cmdp reload after changing it.
In command text, prefix a delimiter with a backslash when it should be literal rather than start or end a tag. This escaping belongs in the command being parsed, not in the Argument-Regex configuration value.
Last updated
Was this helpful?