mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-22 09:39:48 +01:00
windowrules: mention regex caveats
This commit is contained in:
parent
cc11dcf167
commit
b82f549a33
1 changed files with 7 additions and 0 deletions
|
@ -99,6 +99,13 @@ size, you can use `hyprctl clients`.
|
|||
|
||||
{{< /callout >}}
|
||||
|
||||
### RegEx writing
|
||||
|
||||
Please note Hyprland uses Google's RE2 for parsing Regex. This means that all operations requiring polynomial
|
||||
time to compute will not work. See [the re2 wiki](https://github.com/google/re2/wiki/Syntax) for supported extensions.
|
||||
|
||||
If you want to _negate_ a regex, as in pass only when the regex _fails_, you can prefix it with `negative:`, e.g.: `negative:kitty`.
|
||||
|
||||
## Rules
|
||||
|
||||
### Static rules
|
||||
|
|
Loading…
Reference in a new issue