I wonder how long expression string one can use in REGEXP function in MATLAB? For example to list many words to match, like 'abc|defg|hij|...'
.
Worked fine for me with about 500 words (~3K characters), but with very large list (>300K) MATLAB just crashed without any error log. Anybody have an idea on the limit? May it depend in expression syntax?
I know I can use cell array of strings but in this case I cannot use arbitrary number of strings to match. Anyway, I don't need alternatives, just the limit please.