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

I added a second rectangle as an example starting from a different point, and it never misrecognized any of my rectangles for carets or square brackets again.


Likewise, I added a circle going the "other way" and it got it every time. Cool piece of code, eh?


Adding left and right parenthesis started messing up with the square brackets, but then I added a couple more of each square and round brackets and it worked perfectly.

Differentiating from lowercase y and g was next to impossible, though...




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: