Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress warning #71

Merged

Conversation

swamp09
Copy link
Contributor

@swamp09 swamp09 commented Dec 19, 2017

This PR suppresses the following warning.

ruby -v
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]

RUBYOPT=-w bundle exec rspec
/Users/numata/ruby/validates_email_format_of/lib/validates_email_format_of.rb:12: warning: character class has duplicated range: /[\!\#\$\%\&\'\*\-\/\=\?\+\-\^\_\`\{\|\}\~]/
/Users/numata/ruby/validates_email_format_of/lib/validates_email_format_of.rb:110: warning: character class has duplicated range: /[\!\#\$\%\&\'\*\-\/\=\?\+\-\^\_\`\{\|\}\~]/

```
warning: character class has duplicated range: /[\!\#\$\%\&\'\*\-\/\=\?\+\-\^\_\`\{\
|\}\~]/
```
@alexdunae alexdunae merged commit 13c44ef into validates-email-format-of:master May 5, 2022
@alexdunae
Copy link
Contributor

Thanks!

@swamp09 swamp09 deleted the supress_warning branch May 9, 2022 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants