<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>&lt;blockquote&gt;Have you done some GM_log(...)'s to find if your getting what you expect from your regex expressions?&lt;/blockquote&gt;

I did now that you told me to. It says that for every time it goes through the  
&lt;code&gt;for(var i = smileElements.snapshotlength - l; i &gt;= 0; i--)&lt;/code&gt;  part, it goes through the  &lt;code&gt;smileyRegex.lastIndex = 0;&lt;/code&gt;  part twice.

&lt;blockquote&gt;What page are you testing this against?&lt;/blockquote&gt;&lt;a href=&quot;http://www.spogg.com/forum/showthread.php?dr=true&amp;topic_id=1&amp;thread_id=1846&amp;show_hidden=&amp;page_num=0&quot;&gt;Forum: Test: :P*:P* - Spogg.com&lt;/a&gt;</body>
  <body-html>&lt;p&gt;&lt;blockquote&gt;Have you done some GM_log(...)'s to find if your getting what you expect from your regex expressions?&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;I did now that you told me to. It says that for every time it goes through the  
&lt;br /&gt;&lt;code&gt;for(var i = smileElements.snapshotlength - l; i &gt;= 0; i--)&lt;/code&gt;  part, it goes through the  &lt;code&gt;smileyRegex.lastIndex = 0;&lt;/code&gt;  part twice.&lt;/p&gt;

&lt;p&gt;&lt;blockquote&gt;What page are you testing this against?&lt;/blockquote&gt;&lt;a href=&quot;http://www.spogg.com/forum/showthread.php?dr=true&amp;amp;topic_id=1&amp;amp;thread_id=1846&amp;amp;show_hidden=&amp;amp;page_num=0&quot;&gt;Forum: Test: :P*:P* - Spogg.com&lt;/a&gt;&lt;/p&gt;</body-html>
  <created-at type="datetime">2008-07-22T20:20:12Z</created-at>
  <forumable-id type="integer">1</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">10807</id>
  <topic-id type="integer">2877</topic-id>
  <updated-at type="datetime">2008-07-23T06:07:13Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">39648</user-id>
</post>
