Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add regex templates for chat object in Manifest.md #1318

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/Manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@
]
```

**Example color and formatting code regex:**

| Description | Regex |
|---------------------------------------|-----------------------------------------------------------------------------------------------------------|
| Any color code | `§[a-f0-9]` |
| Any formatting code | `§[k-or]` |
| Any color or formatting code | `§[a-fk-or0-9]` |
| Any color or formatting code in a row | zero or one: `(§[a-fk-or0-9])?`<br/>at least one: `(§[a-fk-or0-9])+`<br/>zero or more: `(§[a-fk-or0-9])*` |
| Player name | `[a-zA-Z0-9_]{2,16}` |

### Gamemode object

| Key | Description | Example value |
Expand Down
Loading