6 kyu
Regexp Basics - is it IPv4 address?
226 of 2,883taw
Description:
Implement String#ipv4_address?
, which should return true if given object is an IPv4 address - four numbers (0-255) separated by dots.
It should only accept addresses in canonical representation, so no leading 0
s, spaces etc.
Regular Expressions
Fundamentals
Similar Kata:
Stats:
Created | Dec 27, 2015 |
Published | Dec 27, 2015 |
Warriors Trained | 6658 |
Total Skips | 1461 |
Total Code Submissions | 23048 |
Total Times Completed | 2883 |
Ruby Completions | 226 |
Python Completions | 1283 |
JavaScript Completions | 1084 |
CoffeeScript Completions | 16 |
PHP Completions | 356 |
Total Stars | 134 |
% of votes with a positive feedback rating | 92% of 540 |
Total "Very Satisfied" Votes | 465 |
Total "Somewhat Satisfied" Votes | 60 |
Total "Not Satisfied" Votes | 15 |