match nested tags
- From: "FangQ" <fangqq@xxxxxxxxx>
- Date: 29 Apr 2006 22:17:48 -0700
hi
is there a simple way using regular expression to find nested tags?
for example, the string is:
{{ {A} this is part A of the document
{{ {A.1} this is part A1 }}
}}
I want to define a function findtag("A") to give me
this is part A of the document
{{ {A.1} this is part A1 }}
and findtag("A.1") to give me
this is part A1
can anyone give some hint?
thanks
Qianqian
.
- Follow-Ups:
- Re: match nested tags
- From: Xicheng Jia
- Re: match nested tags
- Prev by Date: Re: 'medium' reg exp greediness?
- Next by Date: Re: 'Tie::StdScalar' - perl tells me it can't find it
- Previous by thread: RE: Replying to the perl list
- Next by thread: Re: match nested tags
- Index(es):
Relevant Pages
|