aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-04-13 00:33:27 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-04-13 00:33:27 +0200
commit5308e6820e0c8aac69f6744a88d8fd24e24d900c (patch)
tree9b0dde9d288fabfe76eee9ab9230cb595a1edcf7
parent72854192faddf3a039d7894ec6fb362cf5d62b6d (diff)
downloadsbotools2-5308e6820e0c8aac69f6744a88d8fd24e24d900c.tar.xz
Allow searching for tags case insensitively
-rwxr-xr-xsbofind2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbofind b/sbofind
index 6233587..0adb1f7 100755
--- a/sbofind
+++ b/sbofind
@@ -73,7 +73,7 @@ sub perform_search {
my ($t_fh, $t_exit) = open_read "$config{SBO_HOME}/repo/TAGS.txt";
unless ($t_exit) {
while (my $line = <$t_fh>) {
- if ($line =~ /^(\S+):\s.*\Q$search_arg\E/) {
+ if ($line =~ /^(\S+):\s.*\Q$search_arg\E/i) {
push @names, $1;
}
}