{"id":16271785,"url":"https://github.com/mukel/regularexpressions","last_synced_at":"2025-10-14T19:32:32.723Z","repository":{"id":35343881,"uuid":"39606165","full_name":"mukel/RegularExpressions","owner":"mukel","description":"Simple RegExp matching using derivatives","archived":false,"fork":false,"pushed_at":"2015-07-27T14:30:36.000Z","size":256,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T11:53:10.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/mukel.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}},"created_at":"2015-07-24T02:11:01.000Z","updated_at":"2015-07-24T02:13:58.000Z","dependencies_parsed_at":"2022-08-24T07:10:51.483Z","dependency_job_id":null,"html_url":"https://github.com/mukel/RegularExpressions","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/mukel%2FRegularExpressions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukel%2FRegularExpressions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukel%2FRegularExpressions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukel%2FRegularExpressions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mukel","download_url":"https://codeload.github.com/mukel/RegularExpressions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247871775,"owners_count":21010102,"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-10-10T18:14:51.742Z","updated_at":"2025-10-14T19:32:27.688Z","avatar_url":"https://github.com/mukel.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Regular Expressions\n\n[![Travis CI Build Status](https://travis-ci.org/mukel/RegularExpressions.svg)](https://travis-ci.org/mukel/RegularExpressions)\n\n[![Coverage Status](http://coveralls.io/repos/mukel/RegularExpressions/badge.svg?branch=master\u0026service=github)](http://coveralls.io/github/mukel/RegularExpressions?branch=master)\n\nThis is a simple library to deal with regular expressions using derivatives, based on Brzozowski's 1964 paper \"Derivatives of regular expressions\".\n\n## Performance Notice\n\nThis is a non-optimized implementation and is focused purely on correctness, so the raw complexity is exponential.\n\n## Usage\n\nIt provides integration with the language, allowing the following:\n\n```scala\n  val lowerCase: RE = 'a' range 'z'\n  val upperCase: RE = 'A' range 'Z'\n  val vowels: RE = \"aeiou\".oneOf\n  val digit: RE = '0' range '9'\n  val nonZeroDigit: RE = '1' range '9'\n  val unsigned: RE = \"0\" | (nonZeroDigit ~ digit.*)\n  val integer: RE = (\"-\" | \"+\").? ~ unsigned\n  val alphaNum = lowerCase | upperCase | digit\n```\nMatching is as simple as:\n\n```scala\n  integer matches \"1234\"\n  email matches \"foor@bar.baz\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukel%2Fregularexpressions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmukel%2Fregularexpressions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukel%2Fregularexpressions/lists"}