in reply to What is a 'named property'? (perlre)
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: What is a 'named property'? (perlre)
by diotalevi (Canon) on Jul 15, 2003 at 16:35 UTC |