![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
= 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.