title: Case-sensitive regex that works
body: <p>I have tried to change this regular expression to case-sensitive with a lot of possible solutions (<code>/[u=|&amp;l=|&amp;dl=|&amp;f=]/i</code> and so on) but I didn't make it to work as I want to.</p>
  
  <p><code>u=</code>, <code>&amp;l=</code>, <code>&amp;dl=</code>, and <code>&amp;f=</code> is taken from <code>profile-photos.php?u=edgren&amp;dl=</code>. I use this regular expression to only get the username <code>edgren</code> and identify those other GETs (l, dl, and f) for example;</p>
  
  <p><code>Looking at &lt;a href="'.url('user/'.$profile).'"&gt;'.properize($profile).'&lt;/a&gt; '.(isset($_GET['l']) ? 'likes' : (isset($_GET['dl']) ? 'dislikes' : 'favorites'))</code> which prints "Looking at edgrens dislikes" with the URL <code>profile-photos.php?u=edgren&amp;dl=</code>.</p>
  
  <p>The regular expression I have now, prints <code>egren</code> (<a href="http://regexpal.com/?flags=g&amp;regex=%28%5Bu%3D%7C%26l%3D%7C%26dl%3D%7C%26f%3D%5D%2B%29&amp;input=u%3Dedgren%26dl%3D" rel="nofollow">example at regexpal.com</a>) if the GET is &amp;dl= which is wrong. I want to print the whole username and not the half of it, so to speak.</p>
  
  <p>How can I fix my problem?</p>
  
  <p>Thanks in advance.</p>