#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... ;)
#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... ;)