2009-02-07, 23:11
Is there a known difference in the way the various versions of XBMC implement Regular Expressions?
When my script runs the following match:
match=re.compile('<li><a href=\'(.+)\' title=\'(.+)\'>(.+)</a></li>').findall(link)
on the following string:
<li><a href='http://tv.winelibrary.com/2009/01/' title='January 2009'>January 2009</a></li>
I get different results:
Windows = January 2009 (Desired Result)
Xbox = January (2009) (Where are the ()'s from?)
Windows = XBMC SVN: Unknown (Compiled: Oct 6 2008)
Xbox = pre-9.04 (Compiled: Jan 25 2009)
Thanks,
Jeff
When my script runs the following match:
match=re.compile('<li><a href=\'(.+)\' title=\'(.+)\'>(.+)</a></li>').findall(link)
on the following string:
<li><a href='http://tv.winelibrary.com/2009/01/' title='January 2009'>January 2009</a></li>
I get different results:
Windows = January 2009 (Desired Result)
Xbox = January (2009) (Where are the ()'s from?)
Windows = XBMC SVN: Unknown (Compiled: Oct 6 2008)
Xbox = pre-9.04 (Compiled: Jan 25 2009)
Thanks,
Jeff