Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Posts by Ray‭

4 posts
60%
+1 −0
Challenges The 50 substrings that validate any string of Roman numerals

vim, 212 bytes A:<ESC>"xddO11@aj044j116jdj31@ar2j242jdj314jd3j$51@ar4j42d3j512jdG<ESC>:%s/\(\d\d\)/@ar\1@bj/g "dDqaA 0<ESC>qqbYp$<C-A>qxkDqc@a6@bjq(7@c(@doI X C M<ES...

posted 5mo ago by Ray‭  ·  edited 5mo ago by Ray‭

Answer
60%
+1 −0
Challenges Single letter HTML

sed, 16 bytes /[abipq]/{c q};d Prints a newline for true and an empty string for false. Annotated /[abipq]/{ # run grouped commands for lines matching [abipq] c # change curr...

posted 6mo ago by Ray‭

Answer
60%
+1 −0
Challenges Lone ​​​​​​ones

vim, 42 bytes Better approach than my previous attempt: we can do this in parallel by having our macro only increment the counter and then replace only the Lone Ones with calls to it. :s/111*//g ...

posted 6mo ago by Ray‭

Answer
60%
+1 −0
Challenges Lone ​​​​​​ones

vim, 77 bytes Input is a binary string. :s/^/0 0/ yyP :s/./@a/g qa:g/010*$/s/010*$//e|0:norm<C-V><C-A> :s/111*0*$//e qGdd@"WD <C-V> is 0x16. <C-A> is 0x01 Ungolfe...

posted 6mo ago by Ray‭  ·  edited 6mo ago by Ray‭

Answer