12 Sep
2008
12 Sep
'08
14:07
On 09/09/2008 01:28 PM, Per Jessen wrote:
Can anyone suggest a reason why C functions isprint() and isgraph() are both locale sensitive (as they should be), whereas regex character classes [:print:] and [:graph:] are not (when used in perl) ?
Having implemented the isprint() et. al. (ctype) functions for a C
compiler, I can say very definitively that the C standards require these
to be locale sensitive as well as many other C language functions. Perl
is governed by different standards and regex itself is POSIX.
--
Jerry Feldman