summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-02-05 18:01:15 +0100
committerlassulus <lass@lassul.us>2017-02-05 18:01:15 +0100
commit7bcbb92979830bf8db28db5babad2527f2353805 (patch)
tree2ad695c995c8cbbddd02838aeb6501aeed20d487
parenta5bd0ad7742260db8893d8578950a0cfd0cbc62e (diff)
k 5 Reaktor plugins: fix regex in url-title
-rw-r--r--krebs/5pkgs/Reaktor/plugins.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/Reaktor/plugins.nix b/krebs/5pkgs/Reaktor/plugins.nix
index d4774dd69..e85e41cfe 100644
--- a/krebs/5pkgs/Reaktor/plugins.nix
+++ b/krebs/5pkgs/Reaktor/plugins.nix
@@ -118,7 +118,7 @@ rec {
};
url-title = (buildSimpleReaktorPlugin "url-title" {
- pattern = "^.*(?P<args>http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+)$$";
+ pattern = "^.*(?P<args>http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+).*$$";
path = with pkgs; [ curl perl ];
script = pkgs.writeDash "lambda-pl" ''
if [ "$#" -gt 0 ]; then