Skip to content

Commit

Permalink
Match only non empty tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mdom committed Dec 14, 2016
1 parent ea57cb8 commit 4138646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/squaretag
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ sub modify {

for ( split( /,/, $tag_spec ) ) {
next if /^\s*$/;
if (/^(.*)-$/) {
if (/^(.+)-$/) {
push @remove, $1;
}
elsif (/^(.*)\+$/) {
elsif (/^(.+)\+$/) {
push @add, $1;
}
elsif ( $default eq '+' ) {
Expand Down

0 comments on commit 4138646

Please sign in to comment.