title: how do you match two strings in two different variables using regular expressions?
body: <pre><code>$a='program';
  $b='programming';
  if ($b=~ /[$a]/){print "true";}
  </code></pre>
  
  <p>this is not working</p>
  
  <p>thanks every one i was a little confused</p>