Radoslaw Zielinski wrote: > Jakub Bogusz <[EMAIL PROTECTED]> [30-11-2004 13:35]: > > On Tue, Nov 30, 2004 at 01:26:50PM +0100, Radoslaw Zielinski wrote: > >> Elan Ruusam=E4e <[EMAIL PROTECTED]> [30-11-2004 10:56]: > >>> On Tuesday 30 November 2004 02:23, Radoslaw Zielinski wrote: > >>>> In pld.cvs.commit you wrote: > >> [...] > >>>>> [[:alpha:]_][[:alnum:]_.-]*[[:alnum:]_.$-]\? > >>>> This is wrong. As you were told on that mailing list, [:alpha:] is too > >> [...] > >>> i agree. > >>> how do you suggest to fix it, so the locale collation does not play rol= > e in=20 > >>> regex? > >>> force locale =3D C before regcomp() call? > >> As this shouldn't be locale dependent, until the bug is properly > >> resolved, > > regex functionality in libc is locale-dependent (uses LC_COLLATE). > > For [a-z]? It doesn't make sense... What does this class contain in > Asian locales then, nothing?
Eg. for pl_PL it may contain 'ą' and some capital letters. For Asian locales it may contain either the same as for C or the same as for pl_PL. Each locale character set is a superset of ASCII. -- ======================================================================= Andrzej M. Krzysztofowicz [EMAIL PROTECTED] phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Gdansk University of Technology _______________________________________________ pld-devel-en mailing list [EMAIL PROTECTED] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
