Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Parsing tnsnames.ora
Anyone have a ready-made regular expression to parse out the net8 service
name labels from tnsnames.ora? Perl is OK. What I'm looking for is a way to
get a list of possible connections from tnsnames.ora. For example, from the
below I just want a regular expression which returns label1 and label2...
(address=(...))
(connect_data=(...)))
(description=
(address=(...))
(connect_data=(...)))
)
label2 = (description_list=
(description=
(address=(...))
(connect_data=(...)))
(description=
(address=(...))
(connect_data=(...)))
)
AtDhVaAnNkCsE !!!!!!!!
Steve Orr
Bozeman, Montana
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Orr, Steve INET: sorr_at_rightnow.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Nov 12 2002 - 09:09:51 CST