Boost logo

Boost :

Subject: Re: [boost] [regex] [1.35]Problem with IPV6 validation windows XP
From: Gopal_Haldar_at_[hidden]
Date: 2008-10-20 07:38:37

 I am waiting for reply.
Please let me know is it possible through boost or not.

-----Original Message-----
From: Haldar, Gopal
Sent: Thursday, October 16, 2008 4:01 PM
To: 'boost_at_[hidden]'
Subject: [boost] [regex] [1.35]Problem with IPV6 validation windows XP

 passing any IPV6 IP
But it is failed to validate ::ffff: format...
Please see my code...

bool IsValidIPv6String(wstring ipv6address)
        wsmatch what;
        if(regex_match(ipv6address, what, expression))
      // what[0] contains the whole string
      // what[1] contains the response code
      // what[2] contains the separator character
      // what[3] contains the text message.
       // msg->assign(what[3].first, what[3].second);
          return true;

        return false;

-----Original Message-----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]] On Behalf Of John Maddock
Sent: Thursday, October 16, 2008 2:30 PM
To: boost_at_[hidden]
Subject: Re: [boost] [regex] [1.35]Problem with IPV6 validation windows

Gopal_Haldar_at_[hidden] wrote:
>>> Hi
>>> I am using the regex library for checking the IPV6 validation.
>>> Same expression I am using for javascript regular expression
>>> verification.
>>> But for IP format ::ffff: javascript regex api returing
>>> valid IP and boost regex_match method returning invalid IP(Windows
>>> XP).
>>> Please help me to identify the problem.

You're going to have to provide much more information:

The exact regular expression used,
The string you're matching against,
and if possible the code you're using.

Thanks, John.
Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at