Re: [MM] [PATCH] Adjust parsing of +CNUM response to permit spaces in the alphanumeric descriptor.



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]