TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Burgett
from: Doug Nazar
date: 1996-08-12 00:00:30
subject: VAC++ and it`s compiled regular exp

Hello Mike!

Sunday August 11 1996 07:33, Mike Burgett wrote to Doug Nazar:

MB> Exactly, except that I found that I could skip the '*'s completely and get
MB> the results I wanted. (since I don't care where the match occured, unless
MB> the expression was anchored to one end or the other, which still doesn't
MB> require the '*' unless I care about something later in the expression like
MB> 'zee.*dat$'

Hmmm.... sounds like you could just use strstr() which is ANSI compliant
. Regular expressions are overkill for finding a simple string in
another.

MB> I missed the _0_ or more in the regex explanation until the next
MB> morning, after I'd sent the mail, when it jumped out and fairly bit
MB> me.... 

Ain't that always the case. When I get stumped I usually that the dog for a
walk or something. I usually have the answer by the time I get back to the
computer.

Doug

--- GoldED/2 3.00.Alpha1+
* Origin: Realm of the Dragons - `Where thy mind hath no limits' (1:250/516)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 250/516 101 99 3615/50 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.