[i3king] change delimiter from : to something more unique #134

Closed
opened 2021-09-07 07:30:21 +00:00 by budRich · 2 comments
budRich commented 2021-09-07 07:30:21 +00:00 (Migrated from github.com)

I tried the following rule:

instance=qutebrowser class=URxvt
  exec --no-startup-id notify-send "this is NOT a browser"

but i got notification on qutebrowser window anyways.

I tried the following rule: ``` instance=qutebrowser class=URxvt exec --no-startup-id notify-send "this is NOT a browser" ``` but i got notification on qutebrowser window anyways.
budRich commented 2021-09-07 07:34:25 +00:00 (Migrated from github.com)

When looking into this i will also try changing the delimiters from : so something thats less common. (i think there exist a special unicode that is supposed to be used for this..). And with that in place i can instead of:
class:.*:instance:floatterm:title:.*:window_type:.*:
do:
classA[^A]*AinstanceAfloattermAtitleA[^A]*Awindow_typeA[^A]*A
(where A is that special unicode character).

That might solve this issue.

When looking into this i will also try changing the delimiters from `:` so something thats less common. (i think there exist a special unicode that is supposed to be used for this..). And with that in place i can instead of: `class:.*:instance:floatterm:title:.*:window_type:.*:` do: `classA[^A]*AinstanceAfloattermAtitleA[^A]*Awindow_typeA[^A]*A` (where A is that special unicode character). That might solve this issue.
budRich commented 2021-09-07 09:12:10 +00:00 (Migrated from github.com)

well, now i can't reproduce the bug..
keeping it open for changing the delimiters.

well, now i can't reproduce the bug.. keeping it open for changing the delimiters.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bud/i3ass#134
No description provided.