Incorrect Rank Parsing
Issue #1
resolved
When the Rank, either Overall and/or Yesterday, remains the same as the previous day, no arrow up or down graphic is displayed. This creates a problem for the current regex. Here are three examples of the HTML code with this problem:
Both Overall and Yesterday neither increment or decrement
<tr>
<td align="left" class="phead2">Rank:</td>
<td align="right">
6 </td>
<td align="right">
1 </td>
</tr>
Only Overall doesn't increment or decrement
<tr>
<td align="left" class="phead2">Rank:</td>
<td align="right">
3 </td>
<td align="right">
60<span style="color: #009900">(<img src="/images/up.gif" alt="+">10)</span> </td>
</tr>
Only Yesterday doesn't increment or decrement
<tr>
<td align="left" class="phead2">Rank:</td>
<td align="right">
1772<span style="color: #009900">(<img src="/images/up.gif" alt="+">3)</span> </td>
<td align="right">
343 </td>
</tr>
Baseline, where both Overall and Yesterday rank have a graphic
<tr>
<td align="left" class="phead2">Rank:</td>
<td align="right">
15706<span style="color: #009900">(<img src="/images/up.gif" alt="+">11)</span> </td>
<td align="right">
999<span style="color: #009900">(<img src="/images/up.gif" alt="+">67)</span> </td>
</tr>
Comments (2)
-
reporter -
reporter - changed status to resolved
Fixed in commit 218ec00
- Log in to comment
The regex in question: