Timeline for Is it a strong word?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 10, 2017 at 13:53 | comment | added | Jonathan Frech |
@Mr.Xcoder Would it not be allowed to remove <1 and save 2 bytes, as the function is not required to output a boolean, but rather two distinct values?
|
|
Sep 10, 2017 at 7:15 | comment | added | Mr. Xcoder | @JonathanFrech It can get even better | |
Sep 10, 2017 at 3:03 | comment | added | Jonathan Frech |
I think you might be able to replace your pattern string '[^aeiouy]([^aeiouy]|$)' (24 bytes) with "[^aeiouy]("*2+")|$)" (21 bytes) to save 3 bytes, as the empty group, () , does not change the search behavior (TIO).
|
|
Sep 9, 2017 at 23:50 | comment | added | Jonathan Allan |
@OldBunny2800 not unless you are using the reference within your code (it is acceptable to create an unnamed function one could access for reuse with header or footer code - here with f=\ in a header).
|
|
Sep 9, 2017 at 23:41 | comment | added | AAM111 |
Don't you need to assign the lambda to somthing? i.e. f=lambda s...
|
|
Sep 9, 2017 at 23:02 | comment | added | L3viathan | Save 6 bytes by really doing the same as Arnauld | |
Sep 9, 2017 at 22:04 | history | edited | totallyhuman | CC BY-SA 3.0 |
added 74 characters in body
|
Sep 9, 2017 at 21:59 | history | answered | totallyhuman | CC BY-SA 3.0 |