{"id":13799952,"url":"https://github.com/ogulcan/SwiftRegEx","last_synced_at":"2025-05-13T08:32:22.127Z","repository":{"id":215165483,"uuid":"105140420","full_name":"ogulcan/SwiftRegEx","owner":"ogulcan","description":"A playground to learn regular expressions with Swift","archived":false,"fork":false,"pushed_at":"2017-10-03T14:55:00.000Z","size":23,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-22T12:31:10.178Z","etag":null,"topics":["regex","regular-expression","swift","swift-3"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ogulcan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-09-28T11:30:32.000Z","updated_at":"2024-03-20T22:06:58.000Z","dependencies_parsed_at":"2024-01-07T21:52:45.192Z","dependency_job_id":null,"html_url":"https://github.com/ogulcan/SwiftRegEx","commit_stats":null,"previous_names":["ogulcan/swiftregex"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogulcan%2FSwiftRegEx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogulcan%2FSwiftRegEx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogulcan%2FSwiftRegEx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogulcan%2FSwiftRegEx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ogulcan","download_url":"https://codeload.github.com/ogulcan/SwiftRegEx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253903921,"owners_count":21981769,"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","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":["regex","regular-expression","swift","swift-3"],"created_at":"2024-08-04T00:01:07.596Z","updated_at":"2025-05-13T08:32:21.898Z","avatar_url":"https://github.com/ogulcan.png","language":"Swift","funding_links":[],"categories":["Learning Swift: Advanced Topics"],"sub_categories":[],"readme":"# SwiftRegEx\n\nA playground to learn regular expressions with Swift. We developers obviously know that it's not an easy work to use Regular Expressions. This is my challenge, I would like to add a new and efficient tool to my skills.\n\n### Overview\n\nBefore I started, checked some documents also with a few tutorials and decided to go away with [this repository](https://github.com/zeeshanu/learn-regex). So, lots of examples and descriptions are excerpted from repo.\n\nThis repository contains a playground project that builds with Xcode 9 and Swift 4. \n\n### Content\n\n*   How to use RegEx with Swift [#](https://github.com/ogulcan/SwiftRegEx/blob/master/SwiftRegEx.playground/Contents.swift#L23)\n*   A RegEx wrapper class to handle crowd[#](https://github.com/ogulcan/SwiftRegEx/blob/master/SwiftRegEx.playground/Contents.swift#L44)\n*   Meta Characters with examples [#](https://github.com/ogulcan/SwiftRegEx/blob/master/SwiftRegEx.playground/Contents.swift#L127)\n*   Quantifiers with examples [#](https://github.com/ogulcan/SwiftRegEx/blob/master/SwiftRegEx.playground/Contents.swift#L232)\n*   Shorthand sets [#](https://github.com/ogulcan/SwiftRegEx/blob/master/SwiftRegEx.playground/Contents.swift#L330)\n*   Flags [#](https://github.com/ogulcan/SwiftRegEx/blob/master/SwiftRegEx.playground/Contents.swift#L346)\n*   And some common examples like email, html tag etc. [#](https://github.com/ogulcan/SwiftRegEx/blob/master/SwiftRegEx.playground/Contents.swift#L379)\n\n### Useful Links\n\n*   [Easy RegEx](https://github.com/zeeshanu/learn-regex)\n*   [RegEx Cheat Sheet](https://www.cheatography.com/davechild/cheat-sheets/regular-expressions/pdf_bw/)\n*   [Enter the string that you want to use a regular expression on](https://txt2re.com/)\n*   [My favourite online RegEx tester](https://regex101.com/)\n\n#### To-do\n\n- [ ] Better wrapper class, maybe an extension for String\n- [ ] More common examples \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogulcan%2FSwiftRegEx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fogulcan%2FSwiftRegEx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogulcan%2FSwiftRegEx/lists"}