[Gambas-user] RegExp: How to find all matches of a pattern (global match)?

T Lee Davidson t.lee.davidson at gmail.com
Thu Aug 24 05:35:00 CEST 2023


On 8/23/23 15:31, Benoît Minisini wrote:
> Le 23/08/2023 à 21:25, T Lee Davidson a écrit :
>> On 8/22/23 13:49, T Lee Davidson wrote:
>>> Hmmm, Gambas doesn't want to compile on the laptop. The compiler seems to think there should be a semi-colon in a #define statment:
>>>    CXX      gb_qt5_la-canimation_moc.lo
>>> In file included from canimation.h:27:0,
>>>                   from canimation_moc.cpp:10:
>>> ../gambas.h:1323:17: error: expected ‘;’ at end of member declaration
>>>   #define toupper GB.ToUpper
>>>                   ^
>>> I'll see about spinning up a virtual machine, but I'm going to do a distribution upgrade first.
>>
>> Gambas also doesn't want to compile on a Virtuabox VM or even my desktop.
>>
>> Benoît, I am sending you the troubleshooting log privately.
>>
> 
> If you use one of the fifteen systems checked by GitLab Continuous Integration, you should have no problem.

I finally figured out that I needed to look in the '.gitlab-ci.yml' file. openSUSE Leap is not in there.

But, debian-bookworm and fedora-latest (38) are, and they both had no problem compiling Gambas as Virtualbox VM guests.

Debian doesn't play well with Virtualbox, but I was able to test the new RegExp.Findall method on Fedora. It works great; 
exactly as I expected. Thank you.


-- 
Lee



More information about the User mailing list