Re: [Lazarus] TMask revisited

2021-10-19 Thread Juha Manninen via lazarus
On Tue, Oct 19, 2021 at 5:34 PM Bart via lazarus < lazarus@lists.lazarus-ide.org> wrote: > With only eMaskOpcodeOptionalChar enabled [a-z] would match 'a', '-' or > 'z'? > (This would be the old behaviour of TMask) > There is now a constant MaskOpCodesNoEscape which leaves out eMaskOpcodeAnyCharO

Re: [Lazarus] TMask revisited

2021-10-19 Thread Bart via lazarus
On Tue, Oct 19, 2021 at 10:44 AM José Mejuto via lazarus wrote: > Yes, at least it should. To completely disable the "[" syntax three > options must be removed from default, "eMaskOpcodeOptionalChar", > "eMaskOpcodeRange" and "eMaskOpcodeAnyCharOrNone". > > eMaskOpcodeAnyCharOrNone = [???] matche

Re: [Lazarus] Process differences

2021-10-19 Thread Denis Kozlov via lazarus
On Tue, 19 Oct 2021 at 05:58, Steve Gatenby via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Hoping someone could shed some light on why different results on the > following code :) > There is a peculiar truncation at around 80 characters in your second example. The output might be getting

Re: [Lazarus] Process differences

2021-10-19 Thread Juha Manninen via lazarus
On Tue, Oct 19, 2021 at 7:58 AM Steve Gatenby via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Hoping someone could shed some light on why different results on the > following code :) > My guess is that a GTK2 session adjusts user and group rights somehow. When I run your command 'ps -eo pid

Re: [Lazarus] TMask revisited

2021-10-19 Thread José Mejuto via lazarus
El 18/10/2021 a las 22:39, Bart via lazarus escribió: Most people are familiar with ranges "[a-z]", optional chars use the same "[" syntax but without the dash "-", so "[abcde]" matches one position with any of those chars or if you negate the set "[!abcde]" it will match any char *except* any o