[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
- Help with regexp testing,
Rik <=