
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
= Introduction
This is a simple gem for Ruby that simplifies validating email addresses. It conforms with RFC2822.
Here comes a quick code sample. Currently no docs.
require 'rfc822'
"tom@example.com" =~ RFC822::EMAIL_REGEXP_WHOLE
"tom@example.com".is_email?
"demo john@example.comFooBar" =~ RFC822::EMAIL_REGEXP_PART
"demo john@example.comFooBar".contains_email?
"something a@example.com xyz".scan(RFC822::EMAIL_REGEXP_PART)
"something a@example.com xyz".scan_for_emails
= Installation
=== Ruby Versions
Code was tested with ruby-1.8.7-p334 [ i386 ] and ruby-1.9.2-p180 [ i386 ] under RVM.
=== Gems
The gems are hosted at Rubygems.org[http://rubygems.org]. Make sure you're using the latest version of rubygems:
$ gem update --system
Then you can install the gem as follows:
$ gem install rfc822
=== Bundler
Add to your Gemfile:
gem "rfc822"
and then type:
bundle install
=== From the GitHub source
The source code is available at http://github.com/saepia/rfc822. You can either clone the git repository or download a tarball or zip file. Once you have the source, you can unpack it and use from wherever you downloaded.
= ChangeLog === 0.1.5
=== 0.1.4
=== 0.1.3 (yanked)
=== 0.1.2
=== 0.1.1
=== 0.1.0
=== 0.0.2
= License
MIT
FAQs
Unknown package
We found that rfc822 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.