{"id":16854635,"url":"https://github.com/philpennock/emailsupport","last_synced_at":"2025-03-18T10:44:39.556Z","repository":{"id":11593595,"uuid":"14084849","full_name":"philpennock/emailsupport","owner":"philpennock","description":"Golang routines and variables useful when dealing with email","archived":false,"fork":false,"pushed_at":"2024-02-09T23:39:29.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-24T17:18:11.862Z","etag":null,"topics":["email-validation","go","regular-expression"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/philpennock.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-11-03T12:16:25.000Z","updated_at":"2024-02-09T23:39:29.000Z","dependencies_parsed_at":"2024-06-19T16:22:43.153Z","dependency_job_id":"315d6fa5-9cb9-4ace-9513-c360967c00de","html_url":"https://github.com/philpennock/emailsupport","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philpennock%2Femailsupport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philpennock%2Femailsupport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philpennock%2Femailsupport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philpennock%2Femailsupport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philpennock","download_url":"https://codeload.github.com/philpennock/emailsupport/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244207670,"owners_count":20416100,"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":["email-validation","go","regular-expression"],"created_at":"2024-10-13T13:56:11.194Z","updated_at":"2025-03-18T10:44:39.530Z","avatar_url":"https://github.com/philpennock.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"emailsupport\n============\n\nThis package contains auxiliary support information and routines for dealing\nwith email handling.\n\n[![Build Status](https://api.travis-ci.org/philpennock/emailsupport.svg?branch=main)](https://travis-ci.org/philpennock/emailsupport)\n[![Documentation](http://godoc.org/github.com/philpennock/emailsupport?status.svg)](http://godoc.org/github.com/philpennock/emailsupport)\n[![Coverage Status](https://coveralls.io/repos/philpennock/emailsupport/badge.svg?branch=main)](https://coveralls.io/r/philpennock/emailsupport?branch=main)\n\nAt present, it only has some regular expressions which have been tested by\nbeing in use for many years, in Perl, but have here been translated to\nGolang's regexp library.  Other bits and pieces will creep in, as this package\nacts as a ‘miscellaneous’ catch-all for anything Golang that's email-related.\nAs such, I'm not prepared to make API guarantees, so be sure to use dependency\nmanagement to track this repository.\n\n\nUsing\n-----\n\nThis package follows normal Go package naming convention and is `go get`\ncompatible.\n\nThe package is documented using the native godoc system.\nA public interface is available at\n[godoc.org](http://godoc.org/github.com/philpennock/emailsupport).\n\nThe allowed syntax for email addresses changes between [RFC2821][]/[RFC2822][]\nand their replacements, [RFC5321][]/[RFC5322][].\nBy default, the regular expressions employ the newer syntax definitions, but\nyou can build the library with a build-tag of `rfc2822` to use the definitions\nsupplied in [RFC2822][] instead of those from [RFC5321][].\n\nThis package uses [semantic versioning](https://semver.org/).  \nNote that Go only supports the most recent two minor versions of the language;\nfor the purposes of semver, we do not consider it a breaking change to add a\ndependency upon a language or standard library feature supported by all\ncurrently-supported releases of Go.\n\n\nTools\n-----\n\nThis is primarily a library package.\nIt does include two commands though.\nThis follows the standard Go idiom of using sub-directories of `./cmd` to hold the commands.\nThus you can use `go install ./cmd/...` to install them.\n\nOr: `go install -v github.com/philpennock/emailsupport/cmd/...@latest`\n\n 1. `email-regexp-emit`: just prints a regular expression for an email\n    address.  The pattern uses `(?:  )` as a non-capturing group and is\n    otherwise a simple Extended Regular Expression, so just about any modern\n    regular expression library should be able to use it.\n\n 2. `check-is-emailaddr`: can be given regexps on the command-line, or via an\n    input file, and for each one reports success or failure.\n    It exits true (0) if and only if every address given is fine.\n    It exits 1 if some input is not an email address.\n    It exists another non-zero value for problems in running.\n\n\nTesting\n-------\n\nRun `go test`\n\n[build-tag]: http://golang.org/pkg/go/build/#hdr-Build_Constraints\n             \"Build Constraints\"\n[RFC2821]: https://www.ietf.org/rfc/rfc2821.txt\n           \"Simple Mail Transfer Protocol\"\n[RFC2822]: https://www.ietf.org/rfc/rfc2822.txt\n           \"Internet Message Format\"\n[RFC5321]: https://www.ietf.org/rfc/rfc5321.txt\n           \"Simple Mail Transfer Protocol\"\n[RFC5322]: https://www.ietf.org/rfc/rfc5322.txt\n           \"Internet Message Format\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilpennock%2Femailsupport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilpennock%2Femailsupport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilpennock%2Femailsupport/lists"}