title: Robotium for Android - solo.searchText () not working
body: <p>I'm having a problem with searchText() function used with Robotium.</p>
  
  <p>I'm searching for this string: </p>
  
  <pre><code>&lt;string name="provisioning_wizard_title_2"&gt;Service Activation Wizard (Step 2)&lt;/string&gt;
  </code></pre>
  
  <p>I defined it in string xml, and I'm searching it this way: </p>
  
  <pre><code>Activity act=solo.getCurrentActivity(); 
  String string = solo.getString(act.getResources().getIdentifier("provisioning_wizard_title_2", "string", act.getPackageName()));
  </code></pre>
  
  <p>It fails when I call</p>
  
  <pre><code>assertTrue(solo.searchText(string));
  </code></pre>
  
  <p>and it fails also if i call:</p>
  
  <pre><code>assertTrue(solo.searchText("Service Activation Wizard (Step 2)"));
  </code></pre>
  
  <p>even if that is the string I'm seeing in the focused screen activity.</p>
  
  <p>The strange thing is that it works if I use the same string without last character:</p>
  
  <pre><code>assertTrue(solo.searchText("Service Activation Wizard (Step 2"));
  </code></pre>
  
  <p>and it works if I use </p>
  
  <pre><code>assertTrue(solo.searchText(string.substring(0, string.length()-1)));
  </code></pre>
  
  <p>I hope someone could help me.</p>
  
  <p>Sorry for my english!</p>
  
  <p>Thank you.</p>
  
  <p><strong>PROBLEM SOLVED</strong>
  I solved problem thanks to Renas Reda (Founder and maintainer of Robotium). 
  The problem is due to regex support in searchText(); some characters will trigger it. 
  Use Pattern.quote(string) 
  Example: Pattern.qoute("provisioning_wizard_title_2") and eveything works good!</p>