From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <405EF5F8.2010004@iop.kiev.ua> Date: Mon, 22 Mar 2004 16:19:36 +0200 From: Andrey Rybak User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; rv:1.4) Gecko/20030624 X-Accept-Language: en MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [Comm] [OFF] Perl regex References: <405EEFAC.20209@ricom.ru> In-Reply-To: <405EEFAC.20209@ricom.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.4 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 14:19:54 -0000 Archived-At: List-Archive: List-Post: Alexey Morsov wrote: > Привет, > > Или лыжи не едут или я чего-то не поонимаю: > Кто-нибудь может придумать regex для извлечения из строки ip адреса > короче и проще чем (\d+\.\d+\.\d+\.\d+) ? > Только так [0-9]\{3\}\.[0-9]\{3\}\.[0-9]\{3\}\.[0-9]\{3\}