Re: [Gambas-user] Isn't bracket regular expression compatible with UTF8?

2017-07-05 Thread Fernando Cabral
Tobi wrote: > n your mail I can see three distinct attempts at writing down a > negative character class: [^[:alpha:], [^[alpha]], and [^[:alpha]], > but the correct syntax is > > [[:^alpha:]] > > You want to check this first. Right again, Tobi. I can't understand how I missed this. Thank

Re: [Gambas-user] Isn't bracket regular expression compatible with UTF8?

2017-07-05 Thread Tobias Boege
On Tue, 04 Jul 2017, Fernando Cabral wrote: > I have been trying something like *poder[^[:alpha:]* so I could find the > word "poder " ("poder" followed by an space) but not "poderão" ("ã" being > an alpha character in Portuguese.) > > In English it could be like finding "power" but not

[Gambas-user] Isn't bracket regular expression compatible with UTF8?

2017-07-04 Thread Fernando Cabral
I have been trying something like *poder[^[:alpha:]* so I could find the word "poder " ("poder" followed by an space) but not "poderão" ("ã" being an alpha character in Portuguese.) In English it could be like finding "power" but not "powerless". Problem is that it seems [^[alpha]] includes