ako vyparsovat block
Aben Siatris
aben na webcom.sk
Pondělí Říjen 27 09:43:32 MET 2003
mam text typu
<BLOK><BLOK></BLOK></BLOK>
a nieje to xml, takze nemozem pouzit xml parser.
potreboval by som napisat regexp ktory by mi vyparsoval
cely BLOK bez toho aby mi spravil to ze vyparsuje
<BLOK><BLOK></BLOK>, ale
<BLOK><BLOK></BLOK></BLOK>
=~s|<BLOK>(.*?)</BLOK>||; alebo
=~s|<(.[^\n]{1,50}?)>(.*?)</\1>||;
nefunguje tak ako by som potreboval.
viem presne co chcem, ale neviem ako to do toho
regexpu napisat :))
pomoze niekto?
--
:
:. stay cool
:.. Aben Siatris
:.. aben na webcom.sk
:.:
:.: www.WebCom.sk
:.: www.LaMonde.net
:.: www.HOWTOlinux.info
:.: www.SATANICMASS.info
:
--- Gentoo binutils: /usr/bin/sex
:.: "The animals will hear!" grunted the unfortunate stewardess as the
:.: three-legged hired hand sucked her muscular armpits and slid his
:.: knobby John Thomas into her dusty rose bud.
Další informace o konferenci Perl