]> git.seodisparate.com/gitweb - swaybar_info/commitdiff
Update README.md
authorStephen Seo <seo.disparate@gmail.com>
Tue, 23 Aug 2022 08:24:32 +0000 (17:24 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Tue, 23 Aug 2022 08:24:32 +0000 (17:24 +0900)
README.md

index 6197b67cf56e073ff21ce52130af302f2e6b3897..d9ace69d9121965d70cded8a1b26b9aa454cbbef 100644 (file)
--- a/README.md
+++ b/README.md
@@ -85,6 +85,10 @@ Then this text can be parsed with a regex like:
 Note that some characters like `*` or `(` had to be escaped because they are
 being passed verbatim to a shell.
 
+If only one capture is used in the regex string, then that capture will be used
+for the output text, and the color will be left unspecified (usually defaulting
+to white).
+
 ## Dependencies
 
 Uses [`serde_json`](https://crates.io/crates/serde_json),