any character except digits and non-digits is every character.use YAPE::Regex::Explain; print YAPE::Regex::Explain->new(qr/[^\d\D]/)->explain; __END__ The regular expression: (?-imsx:[^\d\D]) matches as follows: NODE EXPLANATION ---------------------------------------------------------------------- (?-imsx: group, but do not capture (case-sensitive) (with ^ and $ matching normally) (with . not matching \n) (matching whitespace and # normally): ---------------------------------------------------------------------- [^\d\D] any character except: digits (0-9), non- digits (all but 0-9) ---------------------------------------------------------------------- ) end of grouping ----------------------------------------------------------------------
In reply to Re: Pattern Matching
by Anonymous Monk
in thread Pattern Matching
by pavunkumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |