From 10e6638085690c403705e71a4f13f74eda0ae97e Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Thu, 24 May 2012 16:42:52 +0000 Subject: fix xrandr output parsing --- lib/Parse/EDID.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Parse/EDID.pm b/lib/Parse/EDID.pm index 055b633..16ea32e 100755 --- a/lib/Parse/EDID.pm +++ b/lib/Parse/EDID.pm @@ -623,7 +623,7 @@ sub find_edid_in_string { my ($input) = @_; my @edids; - while ($input =~ /(?:EDID_DATA|: EDID \(in hex\)):\n((.*\n){8})/g) { + while ($input =~ /(?:EDID_DATA|: EDID \(in hex\)|EDID):\n((.*\n){8})/g) { push @edids, edid_from_lines(split '\n', $1); } if (!@edids) { -- cgit v1.2.1