help-octave
[Top][All Lists]
Advanced

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

RE: regexp question


From: William Krekeler
Subject: RE: regexp question
Date: Mon, 5 Dec 2011 22:16:12 +0000

Sorry I responded too soon. To only get the second shorter set of aa the 
following works.

indexes = regexp (tststr, "a{2,}");
indexes2 = regexp (tststr, "a{3,}");
desiredIndex = setxor( indexes, indexes2 )

William Krekeler


reply via email to

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