From: Alexander Bokovoy <ab@altlinux.ru>
To: devel@linux.iplabs.ru
Subject: [devel] Re: [devel] Re: [devel] RegExp: проблема, нужна помощь
Date: Fri, 25 May 2001 15:22:53 +0300
Message-ID: <20010525152253.F5493@main.avilink.net> (raw)
In-Reply-To: <3B0E4D00.8060905@altlinux.ru>; from rider@altlinux.ru on Fri, May 25, 2001 at 04:16:00PM +0400
On Fri, May 25, 2001 at 04:16:00PM +0400, Anton Farygin wrote:
> Alexander Bokovoy wrote:
>
> > On Fri, May 25, 2001 at 03:49:35PM +0400, Anton Farygin wrote:
> >
> >>Господа, если среди нас знатоки регулярных выражений?
> >>
> >>Возникла проблема, которую я не смог разрешить.
> >>
> >>Суть ее в том, что внутри тегов (< >) нужно удалить с помощью перла все
> >>переводы строк (\n). А удаляется только первый.
> >>
> > /g не пробовал в конце регеэкспа?
>
> :-)
> /g конечно пробовал. Но дело не в этом - вся загвоздка в том, что
> обрабатывать приходится шаблон, распространяющийся на несколько строк.
Дык /m в руки.
--
Sincerely yours, Alexander Bokovoy
The Midgard Project | www.midgard-project.org | ALT Linux Team
Minsk Linux Users Group | www.minsk-lug.net | www.altlinux.ru
-- Do not underestimate the value of print statements for debugging.
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel
next prev parent reply other threads:[~2001-05-25 12:22 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
2001-05-25 12:22 ` Alexander Bokovoy [this message]
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=20010525152253.F5493@main.avilink.net \
--to=ab@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