Hi all,
I'm trying to parse an irregular xml file, and the
file is like the following:
11-09 17:17:10.526 [LCL:1100038630]
11-09 17:17:13.230
[LCL:1100038633]
11-09 17:17:13.230
[LCL:1100038633]
11-09 17:17:13.230 [LCL:1100038633]
For each line, there are timestamp on the begin and
end, and
Hi everyone,
I'm new to Perl. Does anyone have experence with
writting parser by perl? Any places i can find some
examples? thanks a lot.
- tao
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-
thanks. I need parse a text file, which is like a
text database file, but not very structured. many
thanks.
--- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote:
> tao wang wrote:
> > Hi everyone,
> >
> > I'm new to Perl. Does anyone have experence
> with
hi,
I'm trying to write a script to match a pattern like
this: 1.10
I wrote [\d.]+, but this also match with pattern ...
, which has no number in it. Could somebody help me
with it? I'm new to perl and scripts. thanks a lot.
- tao
__
Do
Hi Everyone,
I'm trying to parse lines of macros definitions as
following:
AV $(G)/er $(M)/q $(T)/w/f
Gter/eee
M$(W)
Tg/ee/fet
W$(AV)
You can see the AV is actually a circular macro since
the AV -> M -> W-> AV. I'm think about create a tree
to do it. Is it possible? and how
thanks a lot. I'll try. :)
--- "Beau E. Cox" <[EMAIL PROTECTED]> wrote:
> Hi Tao,
> > -Original Message-
> > From: tao wang [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, March 01, 2003 9:49 AM
> > To: [EMAIL PROTECTED]
> > S
Hi Everyone,
I'm having a problem with extracting certain strings
within a line. I tried several ways, but not very
inefficient. Can somebody help me with it? thanks a
lot.
The line might be one of the following:
KEY1 3 4 T KEY2
KEY1 3 4 T KEY2 456 67 KEY3
KEY1 3 4 T KEY2
A_BEG|A_END|B_OPTIONS to store all
the alternatives, and tried to use
my @values = $line =~ /$op.*$op/g;
But didn't work as i expected. Are there any
problems. please help me with it. thanks again.
- tao
--- Rob Dixon <[EMAIL PROTECTED]> w
no special order. thanks. - tao
--- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote:
>
>
> tao wang wrote:
> > thanks a lot. But there is one problem - this is
> my
> > fault. The KEY1, KEY2 don't exactly look like
> this.
> > There are six KEYS.
thanks a lot. - tao
--- "John W. Krahn" <[EMAIL PROTECTED]> wrote:
> Tao Wang wrote:
> >
> > thanks a lot. But there is one problem - this is
> my
> > fault. The KEY1, KEY2 don't exactly look like
> this.
> > There are six KEYS. Three are
10 matches
Mail list logo