Well on that page where i get the info. It has multiple game info and each each games info starts with <ig_game outs and then the next line has the specfic game code. i have to regex to regex=(?siU).*detmlb(teamcode) for that specific teams live info. as regexing to what you said would only go to first instance of that on the page and not the correct games outs info as each games outs info gets displayed in the line above where it finds the teamcode.
You've provided us very little information, but I'd say to try the following RegExp: RegExp=(?siU)<ig_game outs="(.*)">.*<game id="(.*)_detmlb.*"(?(?=.*<ig_game).*outs="(.*)">.*<game id="(.*)_detmlb.*")(?(?=.*<ig_game).*outs="(.*)">.*<game id="(.*)_detmlb.*"). The first returned info is what you have on first line (the number from the <ig_game outs="???"> expression), and the second one is the live info (I hope I understood well). The first expression is without the lookahead assertion, the others are with it, so the measure will return up to three string pairs, but if there are less such expressions, the last returned strings will be empty.
However I don't think I understood well what you want. If I indeed didn't, please give me some more information, eg a URL (if it's another then the previous).
I may not be explaining it very well im sorry. Heres a link http://gd2.mlb.com/components/game/mlb/year_2016/month_05/day_06/scoreboard.xml Unfortunately theres only 1 game in progress right now so its hard to test as the outs line only appears during a game in progress. As you can see theres multiple games info on the page. each games section starts with either <ig_game or <sg_game followed by the line under it with the games id. Now the order of the games is different every day so you cant regex=(?siU).*<ig_game.* outs="(.*)".*detmlb as this would pull outs for the first game on the page and not from the game id your jumping to.
I dont think theres a way to do what i want, but im able to get the outs info correctly by parsing from a different page. So ill probably just have to use that. Was just hoping not to have some many different urls being parsed in one skin to get the info needed.
It seems there are no game in progress? Am I right? At least the page don't has now and didn't have today (I'm on GMT+2) those information you've described. Do you know when will have?
balala wrote:It seems there are no game in progress? Am I right? At least the page don't has now and didn't have today (I'm on GMT+2) those information you've described. Do you know when will have?
The Washington Nationals have a game starting at 4pm EDT, I think that is 8pm UTC.