Timeline for answer to Translate BBCode into HTML by Themoonisacheese
Current License: CC BY-SA 4.0
Post Revisions
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| 1 hour ago | comment | added | Arnauld |
Seems like all versions -- including the original one -- fail on [code]left[/code][code]right[/code].
|
|
| 8 hours ago | comment | added | Neil | This seems to work and is only a bit longer: Try it online! | |
| 9 hours ago | comment | added | Neil | Fair enough, I hadn't noticed that; I take it all back. | |
| 9 hours ago | comment | added | Themoonisacheese |
@Neil this fails on [b][code]tags[/code] outside[/b]
|
|
| yesterday | comment | added | Neil | With that and a few small byte-saving tweaks: Try it online! | |
| yesterday | comment | added | Neil |
Note that for correctness you should use non-greedy .*? everywhere.
|
|
| yesterday | comment | added | Neil | But in Retina 1 there's no need for such shenanigans: Try it online! | |
| yesterday | comment | added | Neil |
You could save another 24 bytes by using newlines instead of ==: Try it online!
|
|
| yesterday | comment | added | Neil | For a start, here's an obvious 19 byte saving: Try it online! (input removed due to comment length limitations). Using Retina 0.8.2 here just to prove you're not using Retina 1's power. | |
| yesterday | history | edited | Themoonisacheese | CC BY-SA 4.0 |
added 28 characters in body
|
| yesterday | comment | added | Themoonisacheese | @mastaH correct, thanks | |
| yesterday | comment | added | mastaH |
there might be a typo for the closing <blockquote> as it doesn't have the / character
|
|
| 2 days ago | history | edited | Themoonisacheese | CC BY-SA 4.0 |
added 122 characters in body
|
| 2 days ago | comment | added | Themoonisacheese | @Seggan to be quite honest it wasn't fun, it wasn't rewarding and the documentation sucked. I do not recommend it. | |
| 2 days ago | comment | added | Seggan | I gotta learn this lang sometime... | |
| 2 days ago | history | answered | Themoonisacheese | CC BY-SA 4.0 |