🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #23

Re: Jak wyciągnąć fragment stringa?

#23
From: Szymon Bęczkowski
Date: Fri, 07 Jul 2006 11:23
10 lines
1082 bytes
On Thu, 06 Jul 2006 21:36:04 +0200, Marcin Mielżyński <lopx@gazeta.pl>  
wrote:

> jeśli paragrafy nie będą się zagnieżdżały to po prostu:
>  "[p]Jakiś paragraf[b]glup[/b][/p][li]"[/\[p\](.*?)\[\/p\]/,1]

Działa, dzięki. Przejrzałem dokumentację do MatchData i już wiem co i jak.

-- 
Szymon Bęczkowski
Technical Details
Message-ID: <op.tcbglya5tqyf8n@docent>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!nf1.ipartners.pl!ipartners.pl!news.home.net.pl!not-for-mail
References: <op.tb9xtbxptqyf8n@docent> <e8jonc$mvq$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Date: Fri, 07 Jul 2006 13:23:47 +0200
Subject: Re: Jak wyciągnąć fragment stringa?
From: Szymon Bęczkowski <myszon2@poczta.onet.pl>
MIME-Version: 1.0
Newsgroups: pl.comp.lang.ruby
References: <op.tb9xtbxptqyf8n@docent> <e8jonc$mvq$1@news.onet.pl>
Message-ID: <op.tcbglya5tqyf8n@docent>
User-Agent: Opera Mail/9.01 (Win32)
NNTP-Posting-Host: 213.77.11.37
X-Trace: news.home.net.pl 1152271278 213.77.11.37 (7 Jul 2006 13:21:18 +0200)
Organization: home.pl news server
Lines: 10
X-Authenticated-User: szymon.list
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!nf1.ipartners.pl!ipartners.pl!news.home.net.pl!not-for-mail
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit