Hi Chris,
Thanks for the review!
Originally, when I write GNOME-Calculator Alex suggest me to make a regex filter for it.
This patch is a simple solution to avoid having a regex(I tried it, but it's hard[1] I think) to filter the input.
Also, IIRC this is also a solution in other software that do the same, so why not follow a good desition :-)
[1] http://git.gnome.org/cgit/gcalctool/tree/src/mp-equation-parser.y
« Back to merge proposal
Hi Chris,
Thanks for the review!
Originally, when I write GNOME-Calculator Alex suggest me to make a regex filter for it.
This patch is a simple solution to avoid having a regex(I tried it, but it's hard[1] I think) to filter the input.
Also, IIRC this is also a solution in other software that do the same, so why not follow a good desition :-)
[1] http:// git.gnome. org/cgit/ gcalctool/ tree/src/ mp-equation- parser. y