octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with regexp testing


From: Rik
Subject: Help with regexp testing
Date: Fri, 06 Apr 2012 08:42:42 -0700

4/6/12

All,

I'm trying to implement the 'emptymatch' option for regexp.  Could someone
with access to Matlab try the following four lines and send back the results?

[S, E, TE, M, T, NM, SP] = regexp ('MATLAB', '[MAT]*')
[S, E, TE, M, T, NM, SP] = regexp ('MATLAB', '([MAT]*)')
[S, E, TE, M, T, NM, SP] = regexp ('MATLAB', '[MAT]*', 'emptymatch')
[S, E, TE, M, T, NM, SP] = regexp ('MATLAB', '([MAT]*)', 'emptymatch')

Thanks,
Rik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]