summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-02-14 11:22:01 +0100
committerFlorian Pritz <bluewind@xinu.at>2016-02-14 11:22:01 +0100
commitee44011540bdc048b45905ea547fc4f135d96b27 (patch)
tree78aa31f2790632134524d195adb966a9d6496dd8
parent6bf5c6be97d5e59ff7d34a6fc7a23c12d45c4e9f (diff)
downloadbin-ee44011540bdc048b45905ea547fc4f135d96b27.tar.gz
bin-ee44011540bdc048b45905ea547fc4f135d96b27.tar.xz
ag-todos: Add boundaries to regex
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xag-todos2
1 files changed, 1 insertions, 1 deletions
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" "$@"