Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That code doesn't match what actually happens. It will only trim a single character. Have asterisks been trimmed in your copy-paste or something?


Ah you're right, the asterisks have been interpreted as italics. Can't edit my comment, sorry

Here's a paste: https://pastebin.com/kBHprdyj




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: