Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

#rs, 146 bytes

rs, 146 bytes

[^A-Za-z]/
*(.)1円+/1円1円
*(.)(?!1円)/
$/#
+*(.)#(?!.*?1円)/#1円
+*(.)(.*)#(.*)1円/2円#3円1円1円
#/
*(.)(1円*)/1円(_)^^((^^1円2円))
([^_])(_+)(?!_)(?=.*2円_)/
_/

Try it! Please! It took me forever to make the buttons even with the output box on that page...

Well, this was fairly...crazy. The logic here is kind of weird; I'll only post an explanation if someone asks. (Of course, I also said that for an INTERCAL answer whose explanation was requested...that I never explained... ;)

#rs, 146 bytes

[^A-Za-z]/
*(.)1円+/1円1円
*(.)(?!1円)/
$/#
+*(.)#(?!.*?1円)/#1円
+*(.)(.*)#(.*)1円/2円#3円1円1円
#/
*(.)(1円*)/1円(_)^^((^^1円2円))
([^_])(_+)(?!_)(?=.*2円_)/
_/

Try it! Please! It took me forever to make the buttons even with the output box on that page...

Well, this was fairly...crazy. The logic here is kind of weird; I'll only post an explanation if someone asks. (Of course, I also said that for an INTERCAL answer whose explanation was requested...that I never explained... ;)

rs, 146 bytes

[^A-Za-z]/
*(.)1円+/1円1円
*(.)(?!1円)/
$/#
+*(.)#(?!.*?1円)/#1円
+*(.)(.*)#(.*)1円/2円#3円1円1円
#/
*(.)(1円*)/1円(_)^^((^^1円2円))
([^_])(_+)(?!_)(?=.*2円_)/
_/

Try it! Please! It took me forever to make the buttons even with the output box on that page...

Well, this was fairly...crazy. The logic here is kind of weird; I'll only post an explanation if someone asks. (Of course, I also said that for an INTERCAL answer whose explanation was requested...that I never explained... ;)

Source Link
kirbyfan64sos
  • 9.2k
  • 1
  • 27
  • 47

#rs, 146 bytes

[^A-Za-z]/
*(.)1円+/1円1円
*(.)(?!1円)/
$/#
+*(.)#(?!.*?1円)/#1円
+*(.)(.*)#(.*)1円/2円#3円1円1円
#/
*(.)(1円*)/1円(_)^^((^^1円2円))
([^_])(_+)(?!_)(?=.*2円_)/
_/

Try it! Please! It took me forever to make the buttons even with the output box on that page...

Well, this was fairly...crazy. The logic here is kind of weird; I'll only post an explanation if someone asks. (Of course, I also said that for an INTERCAL answer whose explanation was requested...that I never explained... ;)

AltStyle によって変換されたページ (->オリジナル) /