ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Morsov <samurai@ricom.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Проверка по regexp вхождения IP в подсеть
Date: Tue, 19 Feb 2008 18:30:21 +0300
Message-ID: <20080219153021.GF30446@ricom.ru> (raw)
In-Reply-To: <47BAEAD5.1070204@tangramltd.com>

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

On Tue, Feb 19, 2008 at 04:42:29PM +0200, Slava Dubrovskiy wrote:
> Это конечно хорошо. Есть и перловый 
> модуль Net-IP-Match-Regexp. Но у меня есть база, в 
> которой хранятся IP в виде 192.168.1.0/24 и нужно 
> sql запросом проверять вхождение IP в сеть.
/192\.168\.1\.(\d{1,3})/  ?


-- 
С уважением,
Алексей Морсов
программист ЗАО "ИК "Риком-Траст"

Jabber: samurai@www.fondmarket.ru
ICQ: 196766290
www.ricom.ru
www.fondmarket.ru

ALT Linux Team Member
email: swi@altlinux.ru
web: www.altlinux.ru, www.sisyphus.ru

NP: Reaper / Hell Starts With An H: 9 - Memento Mori
[paused]  #9/17   2:27/4:09 (59%)


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

  reply	other threads:[~2008-02-19 15:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19 14:06 Slava Dubrovskiy
2008-02-19 14:18 ` Vladimir Karpinsky
2008-02-19 14:42   ` Slava Dubrovskiy
2008-02-19 15:30     ` Alexey Morsov [this message]
2008-02-19 15:40       ` Алексей Шенцев
2008-02-20  7:53       ` Slava Dubrovskiy

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=20080219153021.GF30446@ricom.ru \
    --to=samurai@ricom.ru \
    --cc=community@lists.altlinux.org \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git