diff options
author | Alexander Sack <asac@ubuntu.com> | 2009-09-21 15:42:30 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-09-21 15:42:30 -0700 |
commit | feb00e455337850aa77c1014d4e73fef51953636 (patch) | |
tree | 9e977493d1d83a24a11f6882421436ee7de1f9e1 | |
parent | 3d178fafcf3e0fc0dbe852d0c6f2d2184f7afae7 (diff) |
mbm: more permissive ESTKSMENU regexp
-rw-r--r-- | plugins/mm-modem-mbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mm-modem-mbm.c b/plugins/mm-modem-mbm.c index 41c42293..c352ecbe 100644 --- a/plugins/mm-modem-mbm.c +++ b/plugins/mm-modem-mbm.c @@ -727,7 +727,7 @@ grab_port (MMModem *modem, g_regex_unref (regex); /* also consume unsolicited mbm messages we are not interested in them - see LP: #416418 */ - regex = g_regex_new ("\\r\\n\\ *ESTKSMENU: .* \\r\\n", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL); + regex = g_regex_new ("\\R\\*ESTKSMENU:.*\\R", G_REGEX_RAW | G_REGEX_OPTIMIZE | G_REGEX_MULTILINE | G_REGEX_NEWLINE_CRLF, G_REGEX_MATCH_NEWLINE_CRLF, NULL);
mm_serial_port_add_unsolicited_msg_handler (MM_SERIAL_PORT (port), regex, NULL, modem, NULL); g_regex_unref (regex); |