Merge pull request #136 from nigelsim/process-substring

added name substring match
This commit is contained in:
Jordi Sanfeliu 2016-01-27 11:21:44 +01:00
commit 9f1bead7b1
1 changed files with 5 additions and 0 deletions

View File

@ -181,6 +181,11 @@ sub process_update {
$pro++;
next;
}
if(index($3, $p) != -1) {
push(@pid, $1);
$pro++;
next;
}
}
if(substr($p, 0, 15) eq substr($_, 6, 15)) {
push(@pid, $1);