ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Проверка по regexp вхождения IP в подсеть
@ 2008-02-19 14:06 Slava Dubrovskiy
  2008-02-19 14:18 ` Vladimir Karpinsky
  0 siblings, 1 reply; 6+ messages in thread
From: Slava Dubrovskiy @ 2008-02-19 14:06 UTC (permalink / raw)
  To: community

Здравствуйте.

Подскажите пожалуйста, как проверить с помощью regexp входит ли IP в 
подсеть?

Например: сеть дана в виде 192.168.1.0/24
Как проверить при помощи regexp входит ли IP 192.168.1.5 в эту подсеть?

-- 
WBR,
Dubrovskiy Vyacheslav



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-20  7:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-19 14:06 [Comm] Проверка по regexp вхождения IP в подсеть Slava Dubrovskiy
2008-02-19 14:18 ` Vladimir Karpinsky
2008-02-19 14:42   ` Slava Dubrovskiy
2008-02-19 15:30     ` Alexey Morsov
2008-02-19 15:40       ` Алексей Шенцев
2008-02-20  7:53       ` Slava Dubrovskiy

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