Skip to main content
added 180 characters in body
Source Link
eush77
  • 1.4k
  • 7
  • 11

Retina, 336 63 67 65 66 6262 59 bytes

[^;#] T`;#-ÿ`¯_ ;{127}|;+$ T`;#`¯ (^|¯) ¯ +T`-~`_-`[^¯] T\`¯` 

Try it online!Try it online!

Readable version using hypothetical escape syntax:

[^;#] T`;#\x01-ÿ`\x01¯_ ;{127}|;+$   T`;#`\x01¯ (^|¯)\x01\x01 ¯\x02 +T`\x01-~`_\x03-\x7f`[^\x01¯]\x01 T\`¯` 

Does not print NUL bytes, because TIO doesn't allow them in the source code. Also prints an extra newline at the end, but I guess it can't do otherwise. Trailing newline suppressed thanks to @Leo.

-273 (!) bytes thanks to @ETHproductions.

-2 bytes thanks to @ovs.

-3 bytes thanks to @Neil. Check out their wonderful 34-byte solution.

Retina, 336 63 67 65 66 62 bytes

[^;#]  ;{127}|;+$ T`;#`¯ (^|¯) ¯ +T`-~`_-`[^¯] T\`¯` 

Try it online!

Readable version using hypothetical escape syntax:

[^;#]  ;{127}|;+$   T`;#`\x01¯ (^|¯)\x01\x01 ¯\x02 +T`\x01-~`_\x03-\x7f`[^\x01¯]\x01 T\`¯` 

Does not print NUL bytes, because TIO doesn't allow them in the source code. Also prints an extra newline at the end, but I guess it can't do otherwise. Trailing newline suppressed thanks to @Leo.

-273 (!) bytes thanks to @ETHproductions.

-2 bytes thanks to @ovs.

Retina, 336 63 67 65 66 62 59 bytes

T`;#-ÿ`¯_ ;{127}|;+$ (^|¯) ¯ +T`-~`_-`[^¯] T\`¯` 

Try it online!

Readable version using hypothetical escape syntax:

T`;#\x01-ÿ`\x01¯_ ;{127}|;+$ (^|¯)\x01\x01 ¯\x02 +T`\x01-~`_\x03-\x7f`[^\x01¯]\x01 T\`¯` 

Does not print NUL bytes, because TIO doesn't allow them in the source code. Also prints an extra newline at the end, but I guess it can't do otherwise. Trailing newline suppressed thanks to @Leo.

-273 (!) bytes thanks to @ETHproductions.

-2 bytes thanks to @ovs.

-3 bytes thanks to @Neil. Check out their wonderful 34-byte solution.

Shave some more, pass it around
Source Link
eush77
  • 1.4k
  • 7
  • 11

Retina, 336 63 67 65 6666 62 bytes

[^;#] ;{127}|;+$ T`;`T`;#`¯ (^|#^|¯) ¯ T`#`¯ +T`-~`_-`[^¯] T\`¯` 

Try it online!Try it online!

Readable version using hypothetical escape syntax:

[^;#] ;{127}|;+$ T`;`\x01T`;#`\x01¯ (^|#^|¯)\x01\x01 ¯\x02 T`#`¯ +T`\x01-~`_\x03-\x7f`[^\x01¯]\x01 T\`¯` 

Does not print NUL bytes, because TIO doesn't allow them in the source code. Also prints an extra newline at the end, but I guess it can't do otherwise. Trailing newline suppressed thanks to @Leo.

-273 (!) bytes thanks to @ETHproductions.

-2 bytes thanks to @ovs.

Retina, 336 63 67 65 66 bytes

[^;#] ;{127}|;+$ T`;` (^|#) ¯ T`#`¯ +T`-~`_-`[^¯] T\`¯` 

Try it online!

Readable version using hypothetical escape syntax:

[^;#] ;{127}|;+$ T`;`\x01 (^|#)\x01\x01 ¯\x02 T`#`¯ +T`\x01-~`_\x03-\x7f`[^\x01¯]\x01 T\`¯` 

Does not print NUL bytes, because TIO doesn't allow them in the source code. Also prints an extra newline at the end, but I guess it can't do otherwise. Trailing newline suppressed thanks to @Leo.

-273 (!) bytes thanks to @ETHproductions.

-2 bytes thanks to @ovs.

Retina, 336 63 67 65 66 62 bytes

[^;#] ;{127}|;+$ T`;#`¯ (^|¯) ¯ +T`-~`_-`[^¯] T\`¯` 

Try it online!

Readable version using hypothetical escape syntax:

[^;#] ;{127}|;+$ T`;#`\x01¯ (^|¯)\x01\x01 ¯\x02 +T`\x01-~`_\x03-\x7f`[^\x01¯]\x01 T\`¯` 

Does not print NUL bytes, because TIO doesn't allow them in the source code. Also prints an extra newline at the end, but I guess it can't do otherwise. Trailing newline suppressed thanks to @Leo.

-273 (!) bytes thanks to @ETHproductions.

-2 bytes thanks to @ovs.

added 17 characters in body
Source Link
eush77
  • 1.4k
  • 7
  • 11

Retina, 336 63 67 6565 66 bytes

[^;#] ;{127}|;+$ T`;` (^|#) ¯ T`#`¯ +T`-~`_-`[^¯] T`¯`T\`¯` 

Try it online!Try it online!

Readable version using hypothetical escape syntax:

[^;#] ;{127}|;+$ T`;`\x01 (^|#)\x01\x01 ¯\x02 T`#`¯ +T`\x01-~`_\x03-\x7f`[^\x01¯]\x01 T`¯`T\`¯` 

Does not print NUL bytes, because TIO doesn't allow them in the source code. Also prints an extraAlso prints an extra newline at the end, but I guess it can't do otherwise. Trailing newline at the end, but I guess it can't do otherwisesuppressed thanks to @Leo.

-273 (!) bytes thanks to @ETHproductions.

-2 bytes thanks to @ovs.

Retina, 336 63 67 65 bytes

[^;#] ;{127}|;+$ T`;` (^|#) ¯ T`#`¯ +T`-~`_-`[^¯] T`¯` 

Try it online!

Readable version using hypothetical escape syntax:

[^;#] ;{127}|;+$ T`;`\x01 (^|#)\x01\x01 ¯\x02 T`#`¯ +T`\x01-~`_\x03-\x7f`[^\x01¯]\x01 T`¯` 

Does not print NUL bytes, because TIO doesn't allow them in the source code. Also prints an extra newline at the end, but I guess it can't do otherwise.

-273 (!) bytes thanks to @ETHproductions.

-2 bytes thanks to @ovs.

Retina, 336 63 67 65 66 bytes

[^;#] ;{127}|;+$ T`;` (^|#) ¯ T`#`¯ +T`-~`_-`[^¯] T\`¯` 

Try it online!

Readable version using hypothetical escape syntax:

[^;#] ;{127}|;+$ T`;`\x01 (^|#)\x01\x01 ¯\x02 T`#`¯ +T`\x01-~`_\x03-\x7f`[^\x01¯]\x01 T\`¯` 

Does not print NUL bytes, because TIO doesn't allow them in the source code. Also prints an extra newline at the end, but I guess it can't do otherwise. Trailing newline suppressed thanks to @Leo.

-273 (!) bytes thanks to @ETHproductions.

-2 bytes thanks to @ovs.

added 17 characters in body
Source Link
eush77
  • 1.4k
  • 7
  • 11
Loading
added 216 characters in body
Source Link
eush77
  • 1.4k
  • 7
  • 11
Loading
deleted 600 characters in body
Source Link
eush77
  • 1.4k
  • 7
  • 11
Loading
added 5 characters in body
Source Link
eush77
  • 1.4k
  • 7
  • 11
Loading
Source Link
eush77
  • 1.4k
  • 7
  • 11
Loading