Test suite for regular expressions

8 views (last 30 days)
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

Accepted Answer

Stephen Carter
Stephen Carter on 28 Apr 2017
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
Zoltán Csáti
Zoltán Csáti on 29 Apr 2017
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.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!