MATLAB Answers

1

Test suite for regular expressions

Asked by Zoltán Csáti on 27 Nov 2016
Latest activity Commented on by per isakson
on 30 Apr 2017
Where could I find a test package for regular expressions in MATLAB? There are many in different languages, but the MATLAB syntax for regular expressions is a bit different.
Thanks

  1 Comment

AFAIK: there isn't any in the open.

Sign in to comment.

1 Answer

Answer by Stephen Carter on 28 Apr 2017
 Accepted Answer

Are you looking for documentation on how to use regular expressions in MATLAB or are you wondering how you can write matlab tests that involve regular expressions?
The documentation for regular expressions can be found at:
To test using regular expressions see:
and

  1 Comment

Thank you for the links. The second and the third links are closer to what I expected, but I was thinking in a collection, see the accepted answer here: http://stackoverflow.com/questions/15819919/where-can-i-find-unit-tests-for-regular-expressions-in-multiple-languages (or a direct link for Python: https://hg.python.org/cpython/file/178075fbff3a/Lib/test/re_tests.py ) Since regular expressions are a bit different in all languages, that's why I wondered if there exists a test suit like the ones I linked in MATLAB.

Sign in to comment.