-
-
Notifications
You must be signed in to change notification settings - Fork 657
Regex with ^
doesn't work for title
key
#1148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi there! |
Can't reproduce on my |
What's your system? |
So, I tested more. I'm trying to write rules for |
^
doesn't work^
doesn't work for title
key from aw-watcher-window
Nope, you're very likely doing something incorrectly. Ideally share exact RegEx-es you're using with the app name and title reported by AW. |
Example: regex
|
// NOTE: this will not work/break category rules which reference `$` or `^`
return getCategoryColorFromString(e.data.app + ' ' + e.data.title); |
^
doesn't work for title
key from aw-watcher-window
^
doesn't work for title
key
Ohh, sorry, I've confused it with something else :( |
Describe the bug
When I create "Category" rule of type "Regular expression" which starts with
^
, it doesn't match anythingTo Reproduce
^
(so, if app name is "App Name", regex should be^App Name
), and set some colorExpected behavior
App is categorized
Documentation
There are no related logs in browser's console
Additional context
$
worksThe text was updated successfully, but these errors were encountered: