Top Prev Next Up Down

The '\p'

All about how '\p' is supported and implemented.

To understand how a regular expression is implemented as a syntax tree (RE_ELEM) and '\p{}' for Unicode.org General category. In code the General category for any codepoint is returned by function Get_GC. In coding Meta character sequences is used, some sequences is only used by the preprocessor some are part of regular expression (META character sequences).

Tools for working with the '\p'

  1. The CmakeGC_URV tools make General Category mappools from Unicodedata.txt. and store these in a mappool storage (DAT-file). The idea is to give as input only a part of the Unicodedata.txt not the whole file.
  2. The CreateUnicodeBlock tool for making and storing codepoint sequences from Block.txt to a mappool storage (DAT-file). The idea is to make a specific choise and store it. Can be used for characters in the Coptic block or Greek block.
  3. Create mappool storage (DAT-files) for storing RangeVectorPack.UserRangeVectorMap_TY.Map's with the tool CreateURV. Contain operation for loading, storing and combiding content of mappools.
  4. Utility Classlist list the contents of a mappool storage (DAT-file)
.