Re: [MM] [PATCH] Adjust parsing of +CNUM response to permit spaces in the alphanumeric descriptor.
- From: Aleksander Morgado <aleksander lanedo com>
- To: Nathan Williams <njw google com>
- Cc: networkmanager-list gnome org
- Subject: Re: [MM] [PATCH] Adjust parsing of +CNUM response to permit spaces in the alphanumeric descriptor.
- Date: Fri, 13 Apr 2012 23:52:28 +0200
On 04/13/2012 04:57 PM, Nathan Williams wrote:
> As described. This replaces a regexp of "?\S*"? , which doesn't match
> the string "Line 1" because of the embedded whitespace, with a somewhat
> more elaborate regular expression that does. It
> also accommodates escaped quotes inside the quoted string.
> (A more general "tokenize v.250 comma-separated response" function might
> be good to have here, but that's a larger project).
>
> Fixes the OwnNumbers property on my Novatel E362 with a Verizon SIM.
>
Pushed, thanks!
--
Aleksander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]