Named Unicode properties and block ranges make be used as character classes via the new "\p{}" (matches property) and "\P{}" (doesn't match property) constructs. For instance, "\p{Lu}" matches any character with the Unicode uppercase property, while "\p{M}" matches any mark character. Single letter properties may omit the brackets, so that can be written "\pM" also. Many predefined character classes are available, such as "\p{IsMirrored}" and "\p{InTibetan}".There ya have it :)
_________
broquaint
In reply to Re: What is a 'named property'? (perlre)
by broquaint
in thread What is a 'named property'? (perlre)
by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |