From: Anton Farygin <rider@altlinux.ru> To: devel@linux.iplabs.ru Subject: Re: [devel] Re: [devel] RegExp: проблема, нужна помощь Date: Fri, 25 May 2001 16:16:00 +0400 Message-ID: <3B0E4D00.8060905@altlinux.ru> (raw) In-Reply-To: <20010525145723.D5493@main.avilink.net> Alexander Bokovoy wrote: > On Fri, May 25, 2001 at 03:49:35PM +0400, Anton Farygin wrote: > >>Господа, если среди нас знатоки регулярных выражений? >> >>Возникла проблема, которую я не смог разрешить. >> >>Суть ее в том, что внутри тегов (< >) нужно удалить с помощью перла все >>переводы строк (\n). А удаляется только первый. >> > /g не пробовал в конце регеэкспа? :-) /g конечно пробовал. Но дело не в этом - вся загвоздка в том, что обрабатывать приходится шаблон, распространяющийся на несколько строк. > > >>Текст примерно такой: >><HTML >> ><HEAD >> ><TITLE >> > Rule Set Based Access Control (RSBAC) для Linux - Модели >></TITLE >> ><META >>NAME=\"GENERATOR\" >>CONTENT=\"Modular DocBook HTML Stylesheet Version 1.57\"> >><META HTTP-EQUIV=\"Content-type\" content=\"text/html; charset=koi8-r\"> >></HEAD> >><BODY >>CLASS=\"ARTICLE\" >> ><DIV >>CLASS=\"ARTICLE\" >> ><DIV >>CLASS=\"TITLEPAGE\" >> ><H1 >>CLASS=\"TITLE\" >> ><A >>NAME=\"AEN2\" >> >Rule Set Based Access Control (RSBAC) для Linux - Модели</A >> ></H1 >> ><DIV >> > >> >>Может быть знает кто-нибуть решение? >> >>Rgds >>Rider >> >> >>_______________________________________________ >>Devel mailing list >>Devel@linux.iplabs.ru >>http://www.logic.ru/mailman/listinfo/devel >> > _______________________________________________ Devel mailing list Devel@linux.iplabs.ru http://www.logic.ru/mailman/listinfo/devel
next prev parent reply other threads:[~2001-05-25 12:16 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-05-25 11:49 Anton Farygin 2001-05-25 11:57 ` [devel] " Alexander Bokovoy 2001-05-25 12:16 ` Anton Farygin [this message] 2001-05-25 12:22 ` [devel] " Alexander Bokovoy 2001-05-26 3:02 ` Alex Sergeyev 2001-05-31 6:45 ` Sir Raorn
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3B0E4D00.8060905@altlinux.ru \ --to=rider@altlinux.ru \ --cc=devel@linux.iplabs.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git