Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7333

Is it possible to use a regular expression in the notebook Edit->Find?

From "Nasser M. Abbasi" <nma@12000.org>
Newsgroups comp.soft-sys.math.mathematica
Subject Is it possible to use a regular expression in the notebook Edit->Find?
Date 2011-12-19 12:15 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jcn9sl$e1k$1@smc.vnet.net> (permalink)

Show all headers | View raw


V 8.04,

Many times, I'd like to search the code for something, but
it would have been nice, if I could use regular expression
to search for, instead of just a literal string.

This might become important for very large code,
as it will make finding something faster. Something like
in emacs or vi and such other editors. As explained in
this page

http://www.emacswiki.org/emacs/RegularExpression

Is there a trick to do this in Mathematica now, I could not
find one, and if there is not, any chance of this being added to
future version?

Since Mathematica itself has a RegularExpression[] command,
may be it should not be too hard to integrate this in the
Edit->Find?

http://reference.wolfram.com/mathematica/tutorial/RegularExpressions.html

Thanks,
--Nasser





Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Is it possible to use a regular expression in the notebook Edit->Find? "Nasser M. Abbasi" <nma@12000.org> - 2011-12-19 12:15 +0000

csiph-web