Steve Baumgarten;636098 Wrote: 
> 
> We should be able to change the last argument of that look_down() call
> to
> be a regular expression, e.g.:
> 
> @matches = $tree->look_down( "_tag", "td", "class", qr/twc-col-2 */ );
> 
> in other words, find twc-col-2 followed by 0 or more spaces.
> 

@SBB:  Yes, that makes sense, thanks.  That's exactly what we should
do.  They've done this "add a space at the end" thing before, as I
said, and they later changed it back (it doesn't really make much sense
to have a space at the end of a class ID, so it's probably an error...
thier page output is undoubtedly generated by some sort of automated
program).

Unfortunately, that doesn't fix the problem with the "nowcasts"
parsing, at least for me.

Peter


-- 
PeterGV
------------------------------------------------------------------------
PeterGV's Profile: http://forums.slimdevices.com/member.php?userid=31531
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to