string informationBoothContests = "<td valign=\"top\" nowrap><b>(.*?)\\**</b></td><td valign=\"top\">(.*?)</td><td valign=\"top\" align=\"center\">(\\d+|\\?\\?)</td>";
<td valign="top" nowrap><b>Holiday Shopping*</b></td><td valign="top">You know what makes a great holiday gift? Gargle Blasters! (Who has earned the most Pan-Dimensional Gargle Blasters?)</td><td valign="top" align="center" colspan="1">3</td>
Regarding the unrecognized Holiday Shopping mini, I'll be damned if I can figure out why this regex isn't matching this page text:
(\\*|‡)*
I'm still not entirely sure what's up with that double-backslash, double-asterisk to match the literal asterisk in mini names. Something-something-double-escaping?
Thanks a million, xKiv.
I count myself among those sorry masses that are just capable enough with regex to get in trouble. Don't know how I missed that colspan attribute. I broadened the regex to match any attributes in that last <td> tag. Hopefully that broadening doesn't cause other issues.
I'm still not entirely sure what's up with that double-backslash, double-asterisk to match the literal asterisk in mini names. Something-something-double-escaping? But even then, I don't get where the second asterisk comes in. My head hurts. At any rate, editing ‡ into that same regex solved the issue.
All-in-all: a one-line change. Here's the updated version.
If anyone had the same problem as I had with either PW's or Veracity's fix: It seems like it was just a caching error. Delete or remove the old playername_pvp_season_n_.dat from your data folder, run the script again and it should be fine.So I took the vgpb.ash from PaladinWhite's post and replaced my original copy with it. That broke the script though:
If anyone had the same problem as I had with either PW's or Veracity's fix: It seems like it was just a caching error. Delete or remove the old playername_pvp_season_n_.dat from your data folder, run the script again and it should be fine.