meaning of a "*" in search string?
- To: mathgroup at smc.vnet.net
- Subject: [mg56851] meaning of a "*" in search string?
- From: "steve" <nma124 at hotmail.com>
- Date: Sat, 7 May 2005 15:35:11 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
hi; 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? Names["SignalProcessing`Analog`*"] {} Names["SignalProcessing`Analog`*`*"] {SignalProcessing`Analog`Fourier`Private`a, etc... The above makes no sense to me at all. This is the help on Names: ?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? Steve