[Gambas-user] Find files without extensions using LIKE

Moviga Technologies moviga at mykolab.ch
Wed Oct 18 10:12:25 CEST 2017


> Gambas has something that looks like built-in PCRE with the MATCH keyword.
> You could leave LIKE alone until Gambas 4 by introducing a gb.Match flag,
> which replaces the invocation of LIKE by MATCH. This looks like a sound
> way to handle it: both are matching operators, the faster one is the default
> but you can choose the more powerful one if you need it. In this case,
> the new flag is much more versatile than a gb.InvertMatch, if that's why
> you didn't like it.
> 
> There are other places where this constant could be used, for example the
> Mode argument to String[].Find(), which already understands gb.Like.
> 
> Regards,
> Tobi

I like that flag idea as well (I actually thought about it, but somehow
forgot to include it in my mail).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20171018/cda42c43/attachment.html>


More information about the User mailing list