From 8ccdd568a29b3c4050eb782d26ec8c33fbf506b5 Mon Sep 17 00:00:00 2001 From: houmain Date: Mon, 25 Jan 2021 22:18:42 +0100 Subject: [PATCH] Updated readme --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 33c160cc..bc0bc4ee 100644 --- a/README.md +++ b/README.md @@ -80,10 +80,16 @@ and continue until the next block header (respectively the end of the file). e.g build >> (Shift Control){B} go_to_definition >> F12 -[system="Linux" class="terminator"] +[system="Linux" class="qtcreator"] ... ``` +The title filter matches windows _containing_ the string in the title, the class filter only matches windows with the _exact_ class name. For finer control [regular expressions](https://en.wikipedia.org/wiki/Regular_expression) can be used. These have to be delimited with slashes. Optionally ```i``` can be appended to make the comparison case insensitive. e.g.: + +```javascript +[title=/Visual Studio Code|Code OSS/i] +``` + ### Virtual keys ```Virtual1``` to ```Virtual8``` are virtual keys, which can be used as state switches. They are toggled when used in output expressions and can be used as modifiers in input expressions: