title: How can I search case insensitive in pgrep?
body: <p>pgrep uses regex as pattern style. I miss the -i option of grep, to tell pgrep, that I am searching case insensitive.</p>
  
  <p>An alternative is</p>
  
  <pre><code>ps ax | grep -i PATTERN
  </code></pre>
  
  <p>But then I have to use the PID to send a KILL signal. With the pgrep and pkill combo I can use the same pattern for killing the app.</p>
  
  <p>How can I use regex's REG_ICASE on the fly on the bash?</p>