summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common.nix b/lib/common.nix
index d2d511a..110381d 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -350,7 +350,7 @@ in {
done
cd "$P"
}
- function regex {
+ function regex() {
gawk 'match($0,/'$1'/, ary) {print ary['\$\{2:-'0'}']}';
}