Mailing List Archive



Back to the month index Back to the list index

Bill Harris (billh@airmail.net)
Wed, 12 Nov 1997 14:10:16 -0600


Message-ID: <346A0D28.2781E494@airmail.net>
Date: Wed, 12 Nov 1997 14:10:16 -0600
From: Bill Harris <billh@airmail.net>
Subject: regexp for string in string2

I hate to ask this, but has anyone got a 'lite' function, that would
be similiar to the at() command that xbase has, where a person could
use at($str,"foo.net") and it would return the number (int) of
occurences of 'foo.net' contained in $str? Note, it would have to
handle metachar's like .?*\/ etc...

I'm something like that could be constructed using substr() and a
bizarre regular exp, but my unfamiliarity with regexp leaves me short.

Bill

-- 
----------------------------------------------------------------------
Bill Harris							KC5YZQ
Internet America (SYSTEMS)
From andry@8ka-campus.mipt.ru  Wed Nov 12 15:51:20 1997
Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1])
	by services.bunyip.com (8.8.5/8.8.5) with ESMTP id PAA10690
	for <msql-list@services.bunyip.com>; Wed, 12 Nov 1997 15:51:19 -0500 (EST)
Received: from ccsix.ecsc.mipt.ru (gw.mipt.ru [194.85.80.238])
	by mocha.bunyip.com (8.8.5/8.8.5) with ESMTP id PAA02806
	for <msql-list@Bunyip.Com>; Wed, 12 Nov 1997 15:51:26 -0500 (EST)
Received: from darksite.8ka-campus.mipt.ru (8ka-campus-gw.mipt.ru [194.85.83.73])
	by ccsix.ecsc.mipt.ru (8.8.5/8.8.5) with ESMTP id XAA18416
	for <msql-list@Bunyip.Com>; Wed, 12 Nov 1997 23:51:31 +0300
Received: from temp.8ka-campus.mipt.ru (temp.8ka-campus.mipt.ru [194.85.83.24])
          by darksite.8ka-campus.mipt.ru (8.8.4/8.8.4) with SMTP
	  id XAA32076 for <msql-list@Bunyip.Com>; Wed, 12 Nov 1997 23:51:47 +0300
Date: Wed, 12 Nov 1997 23:51:47 +0300
Message-Id: <199711122051.XAA32076@darksite.8ka-campus.mipt.ru>
X-Sender: andry@mail.8ka-campus.mipt.ru
X-Mailer: Windows Eudora Pro Version 2.1.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: msql-list@Bunyip.Com
From: Andrej Proshin <andry@8ka-campus.mipt.ru>
Subject: Compiling mSQL under Win95

Hi,

As far as I understand mSQL appears to have an ability to work under WIN32. Could possibly anyone give me an answer -- what kind of compiler can I use under Windows 95 (maybe some special GNU)?

Thanks in advance.

Best regards Andry