{"id":21595188,"url":"https://github.com/euank/regex-chain","last_synced_at":"2025-03-18T11:09:30.337Z","repository":{"id":12051889,"uuid":"14637983","full_name":"euank/regex-chain","owner":"euank","description":"Chain regexes together in nodejs","archived":false,"fork":false,"pushed_at":"2013-11-23T07:00:45.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T03:43:54.339Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/euank.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-11-23T06:47:40.000Z","updated_at":"2013-11-23T07:00:48.000Z","dependencies_parsed_at":"2022-09-15T23:52:20.583Z","dependency_job_id":null,"html_url":"https://github.com/euank/regex-chain","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/euank%2Fregex-chain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fregex-chain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fregex-chain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euank%2Fregex-chain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euank","download_url":"https://codeload.github.com/euank/regex-chain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244207736,"owners_count":20416107,"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-24T17:33:42.954Z","updated_at":"2025-03-18T11:09:30.313Z","avatar_url":"https://github.com/euank.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"regex-chain\n===========\n\nChain regexes together in nodejs\n\nInstallation\n------------\n\n`npm install regex-chain`\n\nUsage\n-----\n\n    var RegexChain = require('regex-chain');\n    var containsNumbers = new RegexChain(/[0-9]/);\n    var containsLetters = new RegexChain(/[a-zA-Z]/);\n    console.log(\"asdf09 contains letters and numbers: \" + containsLetters.and(containsNumbers).test(\"asdf09\"));\n    console.log(\"asdf contains letters and numbers: \" + containsLetters.and(containsNumbers).test(\"asdf\"));\n\n\nTodo\n----\n - Generate some documentation. For now, just skim the unit tests or code\n - Allow more than just `.test` method. `exec` would be the best one\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuank%2Fregex-chain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuank%2Fregex-chain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuank%2Fregex-chain/lists"}