[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need Help for Syntax HighLighting
[Thread Prev] | [Thread Next]
- Subject: Re: Need Help for Syntax HighLighting
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Thu, 29 Aug 2024 09:13:09 +0200
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
Am 28.08.24 um 22:30 schrieb Gianluigi:
Hi Benoit, sorry to intrude, but Olivier's solution works here (even if I would prefer the brackets in bold), but yours doesn't. What am I doing wrong? I attach a test project RegardsGianluigi
Hi GianluigiThis solution is a work around, which limits the scope of characters usable as comment to those included in the character class. I would prefer to see a solution which allows the use of any character.
Apparently a LookBehind expression like match /(?<=\{).*/ doesn't work while a LookAhead expression like match /.*(?=\})/ works. Why? Best regards Claus
Need Help for Syntax HighLighting | Hans Lehmann <hans@xxxxxxxxxxxxxx> |
Re: Need Help for Syntax HighLighting | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Need Help for Syntax HighLighting | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Need Help for Syntax HighLighting | Gianluigi <gradobag@xxxxxxxxxxx> |