S
SomeDeveloper
I'm unable to understand the following statement from
http://search.cpan.org/dist/perl/pod/perlretut.pod.
"Because, for example, \d and \w are sets of characters, it is
incorrect to think of [^\d\w] as [\D\W];"
Of course, being subsumed by \w, \d is clearly redundant. But
redundancy aside, aren't [^\d\w] and [\D\W] still mathematically
equivalent?
Tia (for responding to my possible ignorance),
Some Developer.
http://search.cpan.org/dist/perl/pod/perlretut.pod.
"Because, for example, \d and \w are sets of characters, it is
incorrect to think of [^\d\w] as [\D\W];"
Of course, being subsumed by \w, \d is clearly redundant. But
redundancy aside, aren't [^\d\w] and [\D\W] still mathematically
equivalent?
Tia (for responding to my possible ignorance),
Some Developer.