
Security News
Rspack Introduces Rslint, a TypeScript-First Linter Written in Go
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
= 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
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.