From maintainers-request at octave dot org Sun Mar 19 08:06:01 2006 Subject: Re: regexprep From: Bill Denney To: David Bateman cc: maintainers at octave dot org Date: Sun, 19 Mar 2006 09:05:33 -0500 (EST) On Sun, 19 Mar 2006, David Bateman wrote: > Thanks Bill, > > This was one of the things on my ToDo list. There is a "FIXME" label in > regexp.cc about it, that should also be removed when this function is > included in otave. Glad it helps. A quick warning: it's written against the 2.9 regexp, and I've not tested it against the o-f version. The given function doesn't have two options from matlab: ignorecase (I didn't see a way to do this with regexp, and I didn't want to have unintended consequences by just throwing both the string and the regexp to lower case) and preservecase (this option seemed more like a bug than a feature to me). Bill -- "An ounce of mother is worth a pound of clergy." -- Spanish proverb