[Changeset]: Add "-regexp" option to Fwho, Fwhos and Fclear
David Bateman
adb014 at gmail.com
Sun May 18 15:23:48 CDT 2008
The attached changeset adds the "-regexp" option to Fwho, Fwhos, Fclear.
It uses regexcomp so it assume that regex is available, and so maybe a
pcre version of the regex_match class should be written as well, but as
we don't use named tokens in the case concerned this isn't important.
I also looked briefly at the "-file" option for Fwhos and it seems the
load-save.cc (do_load) function already partially implements this idea,
though hooking that up with the variables.cc (symbol_info_list) class is
not obvious. Also it seems to me that the reason for the -file option is
to allow variables in files to be listed even if they are too large to
be loaded, and so it doesn't make sense to have the octave_value stored
in the symbol_info_list class for that case. However, the changes to get
all this to work seem a bit invasive for the amount of time I have
available.
D.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8093
Url: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080518/b8f3e3cf/attachment.ksh
More information about the Octave-maintainers
mailing list