l reaktor-coders: match scripts at the beginning of line

This commit is contained in:
lassulus 2019-04-07 19:23:29 +02:00
parent 036f0e9052
commit 2c0e039dbd

View File

@ -29,7 +29,7 @@ in {
hooks.url-title
{
activate = "match";
pattern = ''@([^ ]+) (.*)$'';
pattern = ''^@([^ ]+) (.*)$'';
command = 1;
arguments = [2];
env.HOME = config.krebs.reaktor2.coders.stateDir;
@ -66,7 +66,7 @@ in {
}
{
activate = "match";
pattern = ''!([^ ]+)(?:\s*(.*))?'';
pattern = ''^!([^ ]+)(?:\s*(.*))?'';
command = 1;
arguments = [2];
commands = {