From ee44011540bdc048b45905ea547fc4f135d96b27 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 14 Feb 2016 11:22:01 +0100 Subject: ag-todos: Add boundaries to regex Signed-off-by: Florian Pritz --- ag-todos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ag-todos b/ag-todos index ed6a0ae..3884dc1 100755 --- a/ag-todos +++ b/ag-todos @@ -1,3 +1,3 @@ #!/bin/bash -exec ag "(FIXME|TODO|XXX|HACK|BUG)" "$@" +exec ag "\b(FIXME|TODO|XXX|HACK|BUG)\b" "$@" -- cgit v1.2.3-24-g4f1b