News for hackers. Stuff that matters.
Re:Show HN: Notepad Style Online Calculator by perryizgr8 on Tuesday June 02, 2020 @12:44PM (#23393034)
Thanks for finding that bug! The parser is confused. My pattern can match to that input in 4 different ways. So it is outputting all of those 4 ways. However only 2 are unique.

The two ways are:

- (200000 * 23323 * 2423 * 4223) + 30%

- (200000 * 23323 * 2423 * (4223 + 30%))

Now I'm not sure how to fix this.

There are no comments on this comment yet.