_unicode_tables

command
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL