From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.3 Message-ID: <47BAE282.6010105@tangramltd.com> Date: Tue, 19 Feb 2008 16:06:58 +0200 From: Slava Dubrovskiy Organization: Tangram User-Agent: Thunderbird 2.0.0.6 (X11/20070804) MIME-Version: 1.0 To: community@lists.altlinux.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ua2.tanhost.com X-AntiAbuse: Original Domain - lists.altlinux.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tangramltd.com X-Source: X-Source-Args: X-Source-Dir: Subject: [Comm] =?utf-8?b?0J/RgNC+0LLQtdGA0LrQsCDQv9C+IHJlZ2V4cCDQstGF0L4=?= =?utf-8?b?0LbQtNC10L3QuNGPIElQINCyINC/0L7QtNGB0LXRgtGM?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: slava@tangramltd.com, ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2008 14:07:14 -0000 Archived-At: List-Archive: List-Post: Здравствуйте. Подскажите пожалуйста, как проверить с помощью regexp входит ли IP в подсеть? Например: сеть дана в виде 192.168.1.0/24 Как проверить при помощи regexp входит ли IP 192.168.1.5 в эту подсеть? -- WBR, Dubrovskiy Vyacheslav