- publishing free software manuals
Perl Language Reference Manual
by Larry Wall and others
Paperback (6"x9"), 724 pages
ISBN 9781906966027
RRP £29.95 ($39.95)

Sales of this book support The Perl Foundation! Get a printed copy>>>

Negation

A Perl extension to the POSIX character class is the ability to negate it. This is done by prefixing the class name with a caret (^). Some examples:

    POSIX         ASCII-range     Full-range  backslash
                   Unicode         Unicode    sequence
-------------------------------------------------------
[[:^digit:]]   \P{PosixDigit}     \P{Digit}      \D
[[:^space:]]   \P{PosixSpace}     \P{Space}
               \P{PerlSpace}      \P{SpacePerl}  \S
[[:^word:]]    \P{PerlWord}       \P{Word}       \W
ISBN 9781906966027Perl Language Reference ManualSee the print edition