2009/12/10 Zefram <zefram@fysh.org>: > demerphq wrote: >>And, [[:word:]] is spelled [[:alnum:]]. > > No, they're different. /\w/ and /[[:word:]]/ match "_", whereas > /[[:alnum:]]/ does not. Yes, mea-culpa. They are both called ALNUM internally, well [[:word:]] is internally called ALNUM, and [[:alnum:]] is helpfully called ALNUMC. Sigh. yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next