PawelTroka / Computator.NET

Computator.NET is a special kind of numerical software that is fast and easy to use but not worse than others feature-wise. It's features include: - Real and complex functions charts - Real and complex calculator - Real functions numerical calculations including different methods - Over 107 Elementary functions - Over 141 Special functions - Over 21 Matrix functions and operations - Scripting language with power to easy computations including matrices - You can declare your own custom functions with scripting language
GNU General Public License v3.0
234 stars 51 forks source link

Error in regular expression #131

Closed CharliePoole closed 5 years ago

CharliePoole commented 6 years ago

I was looking at some of your code to figure out how to work around the bug where msbuild can't be found in Linux and discovered that this line has an issue:

https://github.com/PawelTroka/Computator.NET/blob/8052050e5aa6d66cef0d139805d9f48a71637eed/build.cake#L35

When the Mono display name returned the following on Travis...

4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan  3 11:48:26 UTC 2017)

...the regex matched the fragment 6.2.16 and the build tried to use MsBuild. I'm going to try anchoring the match to the start of the string for my application.

PawelTroka commented 5 years ago

Thanks for this one @CharliePoole