Timeline for IP address or not?
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 9:04 | history | edited | CommunityBot |
Commonmark migration
|
|
Oct 22, 2018 at 21:33 | history | edited | alpheus | CC BY-SA 4.0 |
Optimized bytes, bugfix
|
Oct 22, 2018 at 18:23 | comment | added | DLosc |
Hmm. Actually, this fails on the test case 1.2.3.4.5 (and also 1.2.3.4. , which isn't in the official list of test cases), because it can match a period instead of end-of-string after the fourth number.
|
|
Oct 22, 2018 at 18:05 | comment | added | DLosc |
[1-9][0-9]|[0-9] can become [1-9]\d|\d (per Zacharý's advice), which can become [1-9]?\d . Also, instead of testing re.match(...)is not None , you can do bool(re.match(...)) since match objects are truthy and None is falsey. :)
|
|
Oct 22, 2018 at 14:08 | comment | added | Adalynn |
x: re.match =>x:re.match ; , x => ,x , and ) is => )is should save 3 bytes. Also, in the regex, you can use \d for each occurrence of [0-9] , and [1] =>1 . This seems like a great first post, though!
|
|
Oct 22, 2018 at 12:55 | review | Low quality posts | |||
Oct 22, 2018 at 12:57 | |||||
Oct 22, 2018 at 12:53 | history | edited | Shaggy | CC BY-SA 4.0 |
deleted 7 characters in body
|
Oct 22, 2018 at 12:04 | comment | added | Nissa | Some explanation for this might help. | |
Oct 22, 2018 at 10:00 | review | Low quality posts | |||
Oct 22, 2018 at 12:04 | |||||
Oct 22, 2018 at 9:45 | review | First posts | |||
Oct 22, 2018 at 9:46 | |||||
Oct 22, 2018 at 9:41 | history | answered | alpheus | CC BY-SA 4.0 |