codepointSetFromStr

Parse representation of codepoint set.

CodepointSet
codepointSetFromStr
(
string spec
)

Parameters

spec string

Specification of the codepoint set. Can contain a list of single codepoints and ranges seperated by '-'. The set can be inverted by starting the specification with '^'. Characters can also be escaped using '\'.

Meta