title: Perl regex match array
body: <p>I'm pretty bad with regex, and tried searching on google, but everything I tried didn't worked.</p>
  
  <p>Here's my code :</p>
  
  <pre><code>@liner = split(/\s+/, $_);
  foreach my $v (@liner) {
      if ($v =~ /*.duplex.*/) {
          print ECRIRE ";$v";
      }
  }
  </code></pre>
  
  <p>$v contains something like : "Full-duplex," but can contains other things like "Half-duplex,"....</p>
  
  <p>So I want my condition to match on "any char"duplex"any char".</p>
  
  <p>I tried things like <code>if ($v =~ /(*.)duplex(.*)/)</code></p>
  
  <p>And some others, but not working. Can anyone help me out?</p>