Hi Christopher,
Here is a minimal Codeless Language Module for an hypothetical "Christopher" language that demonstrates the use of color runs.
Save it as Christopher.plist in ~/Library/Application Support/BBEdit/Language Modules.
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>BBEditDocumentType</key>
<string>CodelessLanguageModule</string>
<key>BBLMColorsSyntax</key>
<true/>
<key>BBLMIsCaseSensitive</key>
<false/>
<key>BBLMLanguageCode</key>
<string>Chri</string>
<key>BBLMLanguageDisplayName</key>
<string>Christopher</string>
<key>BBLMSuffixMap</key>
<array>
<dict>
<key>BBLMLanguageSuffix</key>
<string>.chris</string>
</dict>
</array>
<key>BBLMRunColors</key>
<dict>
<key>com.christopher.preferred_color</key>
<string>hsla(1.000, 1.000, 1.000, 1.000)</string>
</dict>
<key>BBLMRunNames</key>
<dict>
<key>com.christopher.preferred_color</key>
<string>Christorpher's preferred color</string>
</dict>
<key>BBLMKeywordPatterns</key>
<array>
<dict>
<key>RunKind</key>
<string>com.christopher.preferred_color</string>
<key>Pattern</key>
<string>Chris(topher)?</string>
</dict>
</array>
<key>Language Features</key>
<dict>
<key>Identifier and Keyword Character Class</key>
<string>\p{L}\p{N}\-</string>
</dict>
</dict>
</plist>
After restarting BBEdit and selecting the "Christopher" language, any instances of "Chris" or "Christopher" should be colored in red.
"Christopher's preferred color" is configurable in BBEdit > Preferences > Text Colors > Christopher > Christopher's preferred color.
For more information about "Keywords, Run Kind Patterns, and More" see:
HTH
Jean Jourdain