in reply to Re: [[:punct:]] vs. {IsPunct} in 5.8
in thread :punct: vs. {IsPunct} in 5.8
It's a bug alright. A documentation bug...
I checked the Unicode properties, and these are the results:
| Codepoint | Char | Class |
|---|---|---|
| 0024 | $ | Currency Symbol |
| 002B | + | Math Symbol |
| 003C | < | Math Symbol |
| 003D | = | Math Symbol |
| 003E | > | Math Symbol |
| 005E | ^ | Modifier Symbol |
| 0060 | ` | Modifier Symbol |
| 007C | | | Math Symbol |
| 007E | ~ | Math Symbol |
So those are not "punctuation" according to the Unicode standard... Time for a PunctPerl class, to keep company to SpacePerl?
--
dakkar - Mobilis in mobile
Most of my code is tested...
|
|---|