-
6 Comments
Show
3 older comments
Jacob
on 11 Jun 2013
For some reason, regexp manages to interpret the string input as an anonymous function, call this function and return the output. I must say I don't really understand how this works. Why does regexp call the function when comparing the two strings? Is it a bug?
Anyway, this is really ugly code; it would be fine if the Cody team would remove the possibilities to use regexp, str2num etc to score cheap size points.
Hammad
on 9 Aug 2013
Agree with Jacob
Gnaneswar Nadh satapathi
on 3 Nov 2013
i also agree with jacob
David Verrelli
on 24 Mar 2017
Definitely agree with Jacob too!
Aditya Jain
on 24 Mar 2017
Thanks for the feedback. We will discuss and see if we can ban the use of regexp
David Verrelli
on 9 Apr 2017
Thanks for your attention, Aditya Jain :-)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!