Skip to content

Commit

Permalink
document filter key on settings
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Jun 10, 2024
1 parent ac38863 commit fcb8adb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mods/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ In code, the value type is `double`.

### `string`

A piece of text. Value may be constrained with the `match` key that specifies a regex that the string is matched against.
A piece of text. Value may be constrained with the `match` key that specifies a regex that the string is matched against. \
The allowed characters can be set via the `filter` key, for example, `012345679,.` would only allow numbers and punctuation.

In code, the value type is `std::string`.

Expand Down

0 comments on commit fcb8adb

Please sign in to comment.