Re: IPv6 address parsing

Michael Powell <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <CAMEoF_Eya0pdUTBiSSYDRhf2YJqfYSyq8qjANMBV9apZjgtNEA@mail.gmail.com>
On Tue, Dec 19, 2017 at 9:14 AM, Larry Evans <[email protected]> wrote:
> On 12/19/2017 05:46 AM, Michael Powell wrote:
>>
>> On Tue, Dec 19, 2017 at 4:25 AM, Seth <[email protected]> wrote:
>>>
>>> On 17-12-17 16:42, Michael Powell wrote:
>>>
>>> i.e. repeat(1, 4)[hex] SHOULD reject "abcd1234" but it is not.
>>>
>>> Of course it SHOULD not. If you want that, program it. We've been over
>>> this
>>> many times before:
>>
>>
>> What are you talking about, "it SHOULD not"? I *DID* "program" it; I
>> want from 1 to 4 hexadecimal characters. *THAT'S IT*! No fewer, no
>> more. That's the whole point of repeat(1, 4)[...] isn't it?
>>
>> It's possible I am misunderstanding the nature of HEX, per se, which,
>> after consulting again with the docs, probably I am.
>>
> I'd guess it SHOULD accept and leave 1234 unparsed.  Is that not the
> case?

Yes, this is precisely what I presented in an earlier post. Which is
why we're "here" in the discussion.

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Spirit-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spirit-general

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.