MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / LookupUnicodeGroup

Function LookupUnicodeGroup

extern/re2/re2/parse.cc:1647–1652  ·  view source on GitHub ↗

Look for a Unicode group with the given name (e.g., "Han")

Source from the content-addressed store, hash-verified

1645
1646// Look for a Unicode group with the given name (e.g., "Han")
1647static const UGroup* LookupUnicodeGroup(const StringPiece& name) {
1648 // Special case: "Any" means any.
1649 if (name == StringPiece("Any"))
1650 return &anygroup;
1651 return LookupGroup(name, unicode_groups, num_unicode_groups);
1652}
1653#endif
1654
1655// Add a UGroup or its negation to the character class.

Callers 1

ParseUnicodeGroupFunction · 0.85

Calls 2

StringPieceClass · 0.85
LookupGroupFunction · 0.85

Tested by

no test coverage detected