{"id":19730617,"url":"https://github.com/begriffs/flexicode","last_synced_at":"2025-09-01T08:48:45.223Z","repository":{"id":141768047,"uuid":"330461740","full_name":"begriffs/flexicode","owner":"begriffs","description":"Tools scanning Unicode in Flex","archived":false,"fork":false,"pushed_at":"2021-01-18T18:08:55.000Z","size":5,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T19:38:44.132Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/begriffs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-17T18:44:01.000Z","updated_at":"2022-05-03T22:02:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"1565e315-1048-4267-9a66-33613f5905fc","html_url":"https://github.com/begriffs/flexicode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/begriffs/flexicode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fflexicode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fflexicode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fflexicode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fflexicode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/begriffs","download_url":"https://codeload.github.com/begriffs/flexicode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fflexicode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273094385,"owners_count":25044481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T00:16:59.808Z","updated_at":"2025-09-01T08:48:45.158Z","avatar_url":"https://github.com/begriffs.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Utilities for unicode in Flex\n\n### charclass\n\nOutputs a regex to match UTF-8 byte sequences for all codepoints matching an\n[ICU unicode\nregex](https://unicode-org.github.io/icu/userguide/strings/regexp.html#regular-expression-metacharacters).\n\n```sh\n# all Chinese characters\n./charclass '\\p{Han}'\n\n# horizontal whitespace\n./charclass '\\h'\n```\n\nThe `\\p` option is especially powerful because it can match [unicode\nproperties](https://en.wikipedia.org/wiki/Unicode_character_property#General_Category).\n\nTo use the regexes, give them aliases in your Flex file:\n\n```lex\n/* from charcode '\\h' */\nwhitespace \\x09|\\x20|\\xc2\\xa0|\\xe1\\x9a\\x80|\\xe2\\x80[\\x80-\\x8a]|\\xe2\\x80\\xaf|\\xe2\\x81\\x9f\n\n%%\n\n{whitespace}  { /* ... */ }\n```\n\n### Installation\n\nRequires C99, [ICU](http://site.icu-project.org/download/), and\n[pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/).\n\n```sh\n./configure\nmake\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbegriffs%2Fflexicode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbegriffs%2Fflexicode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbegriffs%2Fflexicode/lists"}