Documentation
¶
Overview ¶
Command _unicode_tables writes src/flagnetic/_eval/_re2/unicode_tables.py from the Go standard library's unicode package, which the reference evaluator's regexp package uses: the simple case folding that (?i) applies, and the categories and scripts \p accepts with the characters that fold into each. Python ships no script data and its Unicode version moves with the interpreter, so the engine takes Go's tables and matches the same characters on every Python. The leading underscore keeps the command out of the root module's ./... pattern.
go run ./sdks/python/scripts/_unicode_tables > sdks/python/src/flagnetic/_eval/_re2/unicode_tables.py
Click to show internal directories.
Click to hide internal directories.