Re: IPv6 address parsing

Larry Evans <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
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?


------------------------------------------------------------------------------
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.