这是页面部分页面代码 <tr>
<td class="wsod_firstCol"><a href="/quote/quote.html?symb=MMM" class="wsod_symbol">MMM</a> <span title="3M">3M</span></td>
<td class="wsod_aRight"><span stream="last_202757" class="wsod_stream">160.09</span></td>
<td class="wsod_aRight"><span stream="change_202757" class="wsod_stream"><span class="negData">-2.24</span></span></td>
<td class="wsod_aRight"><span stream="changePct_202757" class="wsod_stream"><span class="negChangePct">-1.38%</span></span></td>
<td class="wsod_aRight">2,143,772</td>
<td class="wsod_aRight"><span class="negData">-9.26%</span></td>
</tr>
怎么就读取了 MMM 3M 160.09
上述正则表达式,我只用前面这部分时,class="wsod_symbol">字符串<\/a>
它只获取第一个字母,这又是怎么回事呢? |