Hello Thomas,
T = Thomas
On Mon, 15 Jan 2001 at 02:17:28 GMT +0800 (which was 10:17 AM where
I live) witnesses say Thomas typed:
George>> [...] wild card [...] I've tried "*" which doesn't seem to
George>> work.
T> It might if you activate RegEx under the Options tab.
No, it won't. In regexps, to match any character, you need to use
'.' The '*' is a repeat operator which says, "Match any number of the
preceding string.
So "a*" will match any number of 'a's, (eg. a, aa, aaaa, etc.)
Or "ab*" will match any number of 'b's, preceded by one 'a'(eg. a, ab, abbb, etc.)
To match absolutely anything, you need, '.*'. This will match any
number of any character. It might not make much sense coming from
DOS/WINDOWS, but it is far superior since you can limit the size of
the wildcard search easily.
For example, if I was searching a dictionary file where each word is
on a single line, I could find all 13 letter words by simply using a
regexp like: '^.{13}$' Or all words with more than 13 letters could
be found with something like: '^.{13,}$' All words between 13 and 15
letters long: '^.{13,15}$' Finally, all words can be found with
something like: '^.*$' or '.*' depending on the multiline mode being
used.
I'll let you explore the rest.
--
Thanks for writing,
Januk Aggarwal
Using The Bat! 1.49c under Windows 98 4.10 Build 2222 A
I was the next door kid's imaginary friend.
--
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : [email protected]