{"id":16683951,"url":"https://github.com/meniny/re","last_synced_at":"2025-09-13T08:44:12.015Z","repository":{"id":56933077,"uuid":"131396448","full_name":"Meniny/re","owner":"Meniny","description":"🔫 Pythonic RegEx library.","archived":false,"fork":false,"pushed_at":"2019-04-11T14:18:14.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-02T15:57:11.958Z","etag":null,"topics":["python","pythonic","re","regex","regexp","regular-expression","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Meniny.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-28T09:44:35.000Z","updated_at":"2020-09-26T04:41:51.000Z","dependencies_parsed_at":"2022-08-21T05:20:43.166Z","dependency_job_id":null,"html_url":"https://github.com/Meniny/re","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Meniny/re","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2Fre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2Fre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2Fre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2Fre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Meniny","download_url":"https://codeload.github.com/Meniny/re/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2Fre/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274941248,"owners_count":25378204,"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-13T02:00:10.085Z","response_time":70,"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":["python","pythonic","re","regex","regexp","regular-expression","swift"],"created_at":"2024-10-12T14:27:28.707Z","updated_at":"2025-09-13T08:44:11.969Z","avatar_url":"https://github.com/Meniny.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Meet `re`\n\n++++\n\u003cp align=\"center\"\u003e\n  \u003c!-- \u003cimg src=\"./Assets/re.png\" alt=\"re\"\u003e --\u003e\n  \u003cbr/\u003e\u003ca href=\"https://cocoapods.org/pods/re\"\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/badge/version-1.1.0-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Author\" src=\"https://img.shields.io/badge/author-Meniny-blue.svg\"\u003e\n  \u003cimg alt=\"Build Passing\" src=\"https://img.shields.io/badge/build-passing-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Swift\" src=\"https://img.shields.io/badge/swift-5%2B-orange.svg\"\u003e\n  \u003cbr/\u003e\n  \u003cimg alt=\"Platforms\" src=\"https://img.shields.io/badge/platform-macOS%20%7C%20iOS%20%7C%20tvOS%20%7C%20watchOS-lightgrey.svg\"\u003e\n  \u003cimg alt=\"MIT\" src=\"https://img.shields.io/badge/license-MIT-blue.svg\"\u003e\n  \u003cbr/\u003e\n  \u003cimg alt=\"Cocoapods\" src=\"https://img.shields.io/badge/cocoapods-compatible-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Carthage\" src=\"https://img.shields.io/badge/carthage-working%20on-red.svg\"\u003e\n  \u003cimg alt=\"SPM\" src=\"https://img.shields.io/badge/swift%20package%20manager-compatible-brightgreen.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n++++\n\n== 🏵 Introduction\n\n**re**, a tiny Pythonic RegEx library.\n\nLearn more about link:https://docs.python.org/2/library/re.html[re module in Python 2.x].\n\n== 📋 Requirements\n\n- iOS 8.0+\n- macOS 10.9+\n- tvOS 9.0+\n- watchOS 2.0+\n- Xcode 9.0+ with Swift 4.1+\n\n== 📲 Installation\n\n`re` is available on link:https://cocoapods.org[CocoaPods].\n\n[source, ruby]\n----\nuse_frameworks!\npod 're'\n----\n\n== ❤️ Contribution\n\nYou are welcome to fork and submit pull requests.\n\n== 🔖 License\n\n`re` is open-sourced software, licensed under the `MIT` license.\n\n== 🔫 Usage\n\n[source, swift]\n----\nimport re\n\nlet string: String = ...\nlet pattern: String = ...\n----\n\n[source, swift]\n----\n// Swiftly\nlet regex = RegularExpression.of(pattern)\n\nlet matches = regex.matches(in: string)\nlet groups1 = regex.groups(matches: string)\nlet groups2 = regex.groups(matches: string, at: 1)\nlet groups3 = regex.groups(matches: string, at: [1, 2])\nlet split = regex.split(string)\nlet replace = regex.replace(with: \"BEING_REPLACED\", in: string)\n----\n\n[source, swift]\n----\n// Pythonic\nlet _ = re.compile(pattern, flags: [])\n\nlet _ = re.search(pattern, string)\nlet _ = re.match(pattern, string)\nlet _ = re.split(pattern, string)\nlet _ = re.sub(pattern, string)\n// ...\n----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeniny%2Fre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeniny%2Fre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeniny%2Fre/lists"}