summaryrefslogtreecommitdiff
path: root/tests/testpat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testpat.cpp')
-rw-r--r--tests/testpat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testpat.cpp b/tests/testpat.cpp
index 37e19b1..a6c4bf9 100644
--- a/tests/testpat.cpp
+++ b/tests/testpat.cpp
@@ -119,8 +119,8 @@ static void get_default_crtc(Card& card, OutputInfo& output)
static void parse_crtc(Card& card, const string& crtc_str, OutputInfo& output)
{
- // @12:1920x1200-60
- const regex mode_re("(?:(@?)(\\d+):)?(?:(\\d+)x(\\d+)(i)?)(?:-(\\d+))?");
+ // @12:1920x1200@60
+ const regex mode_re("(?:(@?)(\\d+):)?(?:(\\d+)x(\\d+)(i)?)(?:@(\\d+))?");
smatch sm;
if (!regex_match(crtc_str, sm, mode_re))