diff --git a/docs/reference.md b/docs/reference.md index d7a6f998..c35b533f 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -192,6 +192,15 @@ ERROR_FILENAME_EXCEDE_RANGE = "ERROR_FILENAME_EXCED_RANGE" Pattern-match always-valid identifiers. +Example: +```toml +[default] +extend-ignore-identifiers-re = [ + # identifiers with length <= 4 chars is likely noise + "^[a-zA-Z]{1,4}$", +] +``` + #### `default.extend-words` - Type: table of strings @@ -214,6 +223,15 @@ tais = "taits" Pattern-match always-valid words. Note: you must handle case insensitivity yourself. +Example: +```toml +[default] +extend-ignore-words-re = [ + # words with length <= 4 chars is likely noise + "^[a-zA-Z]{1,4}$", +] +``` + #### `type.NAME.extend-glob` - Type: list of strings