[Gambas-user] gb.form.dialog Dialog.Filter errors

Benoît Minisini gambas at ...1...
Sat Mar 9 16:10:33 CET 2013


Le 01/03/2013 22:02, Tobias Boege a écrit :
> Hi,
>
> I get an error:
>
> gb.form: FileView.CheckFilter.127: Bad regular expression: Missing '}'
>
> when I set a particular class of Dialog.Filter strings which are actually
> valid ones for LIKE. According to the docs, FileView uses LIKE to match its
> filters.
>
> Note that this error is only shown when gb.form.dialog is loaded (I think
> because the enhanced Dialog uses a FileView, right?). Anyway, the file my
> program creates for this test is not shown with either Dialog. (Is this a
> distinct issue?)
>
> Hmm, there are actually three points in this mail:
> a) the file is not shown
> b) Dialog of gb.form and the one of gb.form.dialog work differently with
>     their Filter property (AFAICS) because gb.form's one doesn't seem to use
>     LIKE but the FileView used in the latter does.
> c) the error message
>
> Project attached.
>
> Regards,
> Tobi
>

It should be fixed in revision #5576.

Regards,

-- 
Benoît Minisini




More information about the User mailing list