feat: allow regex in conditions

This commit is contained in:
iff 2025-04-09 17:16:58 +02:00
parent 3d80ecf9b8
commit b5c19f9a36
4 changed files with 28 additions and 12 deletions

View file

@ -19,7 +19,7 @@ pattern = [
]
suggest = [
'''
#[exe_contains(/)]
#[cmd_contains((?m)^(\S*)\/(\S*))]
chmod +x {{command[0]}} &&
{{command}}'''
]