From 3c2fe7561fec7f52db289bc3e3571ffaae081983 Mon Sep 17 00:00:00 2001
From: thatONEjustin <justinpaelmo@gmail.com>
Date: Sat, 24 Jun 2023 02:41:53 -0500
Subject: [PATCH] updating window rule regex documentation for more clear help
 (#256)

---
 pages/Configuring/Window-Rules.md | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/pages/Configuring/Window-Rules.md b/pages/Configuring/Window-Rules.md
index bec41ec..4763353 100644
--- a/pages/Configuring/Window-Rules.md
+++ b/pages/Configuring/Window-Rules.md
@@ -35,13 +35,25 @@ the `RULE` field is unchanged, but in the `WINDOW` field, you can put regexes
 for multiple values like so:
 
 ```ini
-windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
+windowrulev2 = float,class:(kitty),title:(kitty)
 ```
 
+{{< hint type=tip >}}
+In the case of dynamic window titles such as browser windows keep in mind how powerful regex is.
+
+for example a window rule of: `windowrule=opacity 0.3 override 0.3 override,title:(Zizaran - Twitch)(.*)$` will match 
+*any* window that contains a string of "Zizaran - Twitch" before any other text. This could be multiple browser windows 
+or other applications that contain the string for any reason. 
+
+
+for the `windowrulev2 = float,class:(kitty),title:(kitty)` example, the `class:(kitty)` `WINDOW` field is what keeps the window rule
+specific to kitty terminals. 
+{{< /hint >}}
+
 For now, the supported fields are:
 
 ```ini
-class - class regex
+class - class regex 
 title - title regex
 xwayland - 0/1
 floating - 0/1