<div dir="ltr">Oh wait, I was thinking that "*" matches _one_ or more characters. I checked glob(7) and found that Sean is correct. So it is likely that our implementation has a bug. I'll take a look at it and fix it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 8, 2016 at 12:28 PM, Rafael EspĂ­ndola via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 8 September 2016 at 15:04, Sean Silva <<a href="mailto:chisophugis@gmail.com">chisophugis@gmail.com</a>> wrote:<br>
> The glob `*` can match zero, one, or many characters. Can you make sure that<br>
> the test covers those cases?<br>
><br>
> Currently this test only verifies that it matches a single character, and<br>
> the test would pass if we treated `foo*` as `foo?`.<br>
<br>
</span>True, but the patch used the existing matching infrastructure that is<br>
tested elsewhere. Do you thing expanding the test would add much<br>
value?<br>
<br>
Cheers,<br>
Rafael<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>