{"id":20340476,"url":"https://github.com/tylerbarker/verbalex","last_synced_at":"2025-06-10T19:35:54.092Z","repository":{"id":62430705,"uuid":"182272423","full_name":"tylerbarker/verbalex","owner":"tylerbarker","description":"A library for creating complex, composable regular expressions with the reader \u0026 writer in mind. 🔍","archived":false,"fork":false,"pushed_at":"2019-07-20T12:43:45.000Z","size":18,"stargazers_count":29,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-10T17:37:34.460Z","etag":null,"topics":["elixir","pcre-regex","regex","regular-expressions","verbal-expressions"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/verbalex","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tylerbarker.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":"2019-04-19T13:55:31.000Z","updated_at":"2025-01-14T08:49:03.000Z","dependencies_parsed_at":"2022-11-01T20:21:03.569Z","dependency_job_id":null,"html_url":"https://github.com/tylerbarker/verbalex","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerbarker%2Fverbalex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerbarker%2Fverbalex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerbarker%2Fverbalex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerbarker%2Fverbalex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tylerbarker","download_url":"https://codeload.github.com/tylerbarker/verbalex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248493630,"owners_count":21113289,"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":["elixir","pcre-regex","regex","regular-expressions","verbal-expressions"],"created_at":"2024-11-14T21:22:07.987Z","updated_at":"2025-04-11T23:23:52.814Z","avatar_url":"https://github.com/tylerbarker.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Verbalex\n\n[![Hex pm](http://img.shields.io/hexpm/v/verbalex.svg?style=flat)](https://hex.pm/packages/verbalex)\n\nVerbalex is a library for creating complex regular expressions with the reader \u0026 writer in mind.\nIt does not aim to replace Elixir's already excellent [Regex](https://hexdocs.pm/elixir/Regex.html) module for operating on regex. Instead, it focuses only on building the `~r/regexes/` themselves.\n\n```elixir\nalias Verbalex, as: Vlx\n\nprotocols = \"\"\n  |\u003e Vlx.find(\"http\")\n  |\u003e Vlx.maybe(\"s\")\n  |\u003e Vlx.then(\"://\")\n  |\u003e Vlx.capture_as(\"protocols\")\n  |\u003e Regex.compile!()\n\n# ~r/(?\u003cprotocols\u003e(?:http)s?(?::\\/\\/))/\n\nRegex.named_captures(protocols, \"https://github.com/tylerbarker\")\n# %{\"protocols\" =\u003e \"https://\"}\n```\n\n## Installation\n\n```elixir\ndef deps do\n  [\n    {:verbalex, \"~\u003e 0.3.0\"}\n  ]\nend\n```\n\n## Docs\n\nDocumentation can be found at [https://hexdocs.pm/verbalex](https://hexdocs.pm/verbalex).\n\n## Acknowledgements\n\nVerbalex is essentially an Elixir port of the popular [Verbal Expressions](https://github.com/VerbalExpressions) family of libraries, while also taking some inspiration from [Simple Regex](https://simple-regex.com/).\n\nThanks to Max Szengal for laying down the groundwork in 2013 with [ElixirVerbalExpressions](https://github.com/VerbalExpressions/ElixirVerbalExpressions).\n\n## Contributing\n\nFor issues, comments or feedback please first [create an issue](https://github.com/tylerbarker/verbalex/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerbarker%2Fverbalex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylerbarker%2Fverbalex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerbarker%2Fverbalex/lists"}