MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

meaning of a "*" in search string?

  • To: mathgroup at
  • Subject: [mg56851] meaning of a "*" in search string?
  • From: "steve" <nma124 at>
  • Date: Sat, 7 May 2005 15:35:11 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


I have thought that a "*" is a wild card for string matching,
which is supposed to match anything including the empty string?

Then, can someone explain why `* does not produce
anything But `*`* does below?



The above makes no sense to me at all. This is the
help on Names:

  Names["string"] gives a list of the names of
  symbols which match the string.

so, then means the string "abs`*"  should generate a result,
if the string "abc`*`*" does , which it did !

Does Mathematica uses a different definition of the "*" for
string matching than the one we learned in school?


  • Prev by Date: Re: letrec/named let
  • Next by Date: Re: RC circuit
  • Previous by thread: Re: Re: How to quickly find number of non-zero elements in sparse matrix rows?
  • Next by thread: Re: meaning of a "*" in search string?