<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Weather forecast]]></title><description><![CDATA[<p dir="auto">Hello all,<br />
I'm trying to use regular expressions to pull the weather forecast out of the yahoo weather api, link:<br />
<a href="https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22oakbank%2Cmb%22" rel="nofollow ugc">https://query.yahooapis.com/v1/public/yql?q=select * from weather.forecast where woeid in (select woeid from geo.places(1) where text%3D"oakbank%2Cmb"</a>)&amp;format=json&amp;env=store%3A%2F%<a href="http://2Fdatatables.org" rel="nofollow ugc">2Fdatatables.org</a>%2Falltableswithkeys</p>
<p dir="auto">Using regex testers, I can pull out the proper data, the high for the next day, using:</p>
<pre><code>forecast.*?\[.*?{.*?{.*?high.*?\"(\d+)
</code></pre>
<p dir="auto">however when it's put into mango, it gives this error:<br />
Illegal repetition near index 15 forecast.<em>?[.</em>?{.<em>?{.</em>?high.*?"(\d+) ^</p>
<p dir="auto">has anyone else been able to properly pull forecast weather or see an issue with my regex?</p>
<p dir="auto">Thanks,<br />
Stephen</p>
]]></description><link>https://forum.mango-os.com/topic/2404/weather-forecast</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 05:05:34 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2404.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Aug 2016 21:23:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Weather forecast on Tue, 09 Aug 2016 16:41:38 GMT]]></title><description><![CDATA[<p dir="auto">Ya that worked,<br />
Thank you</p>
]]></description><link>https://forum.mango-os.com/post/12388</link><guid isPermaLink="true">https://forum.mango-os.com/post/12388</guid><dc:creator><![CDATA[StephenVDK]]></dc:creator><pubDate>Tue, 09 Aug 2016 16:41:38 GMT</pubDate></item><item><title><![CDATA[Reply to Weather forecast on Mon, 08 Aug 2016 22:03:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi Stephen,</p>
<p dir="auto">I edited your post because <em>text between asterisks is italic</em>.</p>
<p dir="auto">The problem is probably caused by your open brace not being escaped. Can you try it with a \ before the {?</p>
<pre><code>forecast.*?\[.*?\{.*?\{.*?high.*?\"(\d+)
</code></pre>
]]></description><link>https://forum.mango-os.com/post/12374</link><guid isPermaLink="true">https://forum.mango-os.com/post/12374</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 08 Aug 2016 22:03:33 GMT</pubDate></item></channel></rss>