From 1a688e5521066b7df03fa95e0d20e6308f347f3d Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 14 Jan 2026 09:57:55 -0600 Subject: [PATCH] docs(ref): Add extend-ignore-words|identifiers-re examples --- docs/reference.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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