CachyOS / CachyOS/ananicy-rules
Feature Request: switching ananicy-cpp to newer version for regular expression rules support
- Dominant language
- Shell
- Stars
- 218
- Forks
- 145
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 7
Description
I just noticed that ananicy-cpp already supported regular expression rules two years ago: https://gitlab.com/ananicy-cpp/ananicy-cpp/-/commit/6ea2dccceec39b6c4913f617dad81d859aa20f24
I know that ananicy-cpp didn't publish a release containing that commit yet, but considering the current maintenance level of ananicy-cpp, I don't think there will be any more releases in the future.
To use this feature, you need to turn on an extra option at compile time: ``-DENABLE_REGEX_SUPPORT=ON``
Here's an example (regex are generated by chatgpt)
```
{ "name": "", "name_regex": "^(?=.*steamapps).+.exe(?:[ \t]|$)", "type": "Game" }
```
(You have to add ``name`` in front of it, otherwise ananicy-cpp won't recognise the rule)
This rule will match all programs that are executed with a path containing ``steamapps`` and ending with ``.exe``
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.