{"id":18270353,"url":"https://github.com/jacksonh/VRXVerbalExpressions","last_synced_at":"2025-04-05T01:30:32.621Z","repository":{"id":9985519,"uuid":"12014823","full_name":"jacksonh/VRXVerbalExpressions","owner":"jacksonh","description":"An Objective-C implementation of Verbal Expressions","archived":false,"fork":false,"pushed_at":"2014-07-02T18:32:43.000Z","size":139,"stargazers_count":135,"open_issues_count":0,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-05T11:52:44.855Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/jacksonh.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}},"created_at":"2013-08-10T03:16:41.000Z","updated_at":"2024-06-13T09:41:09.000Z","dependencies_parsed_at":"2022-09-02T14:22:31.941Z","dependency_job_id":null,"html_url":"https://github.com/jacksonh/VRXVerbalExpressions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacksonh%2FVRXVerbalExpressions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacksonh%2FVRXVerbalExpressions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacksonh%2FVRXVerbalExpressions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacksonh%2FVRXVerbalExpressions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacksonh","download_url":"https://codeload.github.com/jacksonh/VRXVerbalExpressions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276021,"owners_count":20912285,"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":[],"created_at":"2024-11-05T11:38:31.839Z","updated_at":"2025-04-05T01:30:32.270Z","avatar_url":"https://github.com/jacksonh.png","language":"Objective-C","funding_links":[],"categories":["etc"],"sub_categories":[],"readme":"VRXVerbalExpressions\n====================\n\nAn Objective-C implementation of [VerbalExpressions](https://github.com/VerbalExpressions)\n\n## Installation\nFor now, just add VRXVerbalExpressions.h and VRXVerbalExpressions.m files to your project. \n\n(CocoaPods coming soon)\n\n\n## Examples\n\n### Testing if we have a valid URL\n```Objective-C\n\n//\n// There are two ways of creating VRXExpressions. Either through\n// a block based API:\n//\nid exp = [VRXVerbalExpression create:^(VRXVerbalExpression *r) {\n        [r startOfLine];\n        [r then:@\"http\"];\n        [r maybe:@\"s\"];\n        [r then:@\"://\"];\n        [r maybe:@\"www.\"];\n        [r anythingBut:@\" \"];\n        [r endOfLine];\n}];\n\n// \n// or a messages based API can be used:\n// Note that startOfLine is both an instance and class method, \n// facilitating both methods of creating expressions\n//\nid exp = [[[[[[[VRXVerbalExpression startOfLine]\n                   then:@\"http\"]\n                  maybe:@\"s\"]\n                 then:@\"://\"]\n                maybe:@\"www.\"]\n               anythingBut:@\" \"]\n              endOfLine];\n\n//\n// Once a VRXVerbalExpression has been created (id was used\n// above for brevity), it can be tested for matches:\n//\nBOOL test = [exp test:@\"https://www.google.com\"];\n```\n## Developer setup : running the tests\nThe tests use [NSUnit](https://github.com/jacksonh/NSUnit), there is a Podfile included that will setup NSUnit for you. Just run `Pod install` in the VRXVerbalExpressions directory.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacksonh%2FVRXVerbalExpressions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacksonh%2FVRXVerbalExpressions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacksonh%2FVRXVerbalExpressions/lists"}