Skip to content

Commit

Permalink
more readable regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
guillomovitch authored and Gonéri Le Bouder committed May 24, 2012
1 parent 895566e commit cefd8dd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -28,7 +28,7 @@ sub doInventory {
)) {
# match only if an qemu instance
next unless
$process->{CMD} =~ /(qemu|kvm|(qemu-kvm)).*\-([fhsv]d[a-d]|cdrom).*/;
$process->{CMD} =~ /(qemu|kvm|qemu-kvm) .* -([fhsv]d[a-d]|cdrom)/x;

my $name;
my $mem = 0;
Expand Down

0 comments on commit cefd8dd

Please sign in to comment.