n> <span class="ruby-identifier">pat</span>
1416:         <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Regexp</span>
1417:           <span class="ruby-identifier">ignores</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">pat</span>
1418:         <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/[*?]/</span>
1419:           <span class="ruby-constant">Dir</span>[<span class="ruby-identifier">pat</span>].<span class="ruby-identifier