Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 11259

For challenges pertaining to problems in the field of Physics.

3
votes
Retina, 35 2 bytes saved thanks to @MartinEnder Port of my sed answer: .+ $* OO +`(\s*) (O *)O$ $&¶$1O $2 O Try it online.
answered Mar 2 '17 by Digital Trauma
5
votes
GNU sed, 41 Score includes +1 from -r flags to sed. s/$/OO/ : s/(\s*) O( *)O$/&\n\1O \2 O/ t Input is in unary, as a string of spaces - the length of string is the input. Try it online.
answered Mar 2 '17 by Digital Trauma
6
votes
GNU sed, 1118 Way too long but gets the job done. Score includes +1 for -r option to sed. As if it matters here. Score excludes comments. ### convert 2-letter units to 1-letter substitutes s/kg/k …
answered Nov 11 '15 by Digital Trauma