[ phpweather-Bugs-557256 ] v1.6 - Doesn't like newlines
Brought to you by:
iridium
From: <no...@so...> - 2002-05-17 13:49:15
|
Bugs item #557256, was opened at 2002-05-17 09:49 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=377952&aid=557256&group_id=23245 Category: Decoding Group: phpweather-1.x Status: Open Priority: 5 Submitted By: Mark Liffiton (liffiton) Assigned to: Nobody/Anonymous (nobody) Summary: v1.6 - Doesn't like newlines Initial Comment: For example, the regexp to check for a temperature section will ignore the temperature section if it ends with a newline. Fixes: 1 - Strip newlines when fetched (perhaps just s/ \s+/ /g or similar) 2 - phpweather.inc: change line 641 to "$parts = preg_split('/\s+/', $metar);" ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=377952&aid=557256&group_id=23245 |