[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: String to Hexadecimal Conversion
- From: Tom N Harris <telliamed@...>
- Date: Mon, 27 Oct 2014 13:43:58 -0400
On Monday, October 27, 2014 05:15:10 PM Enrico Colombini wrote:
> Also, it could be uppercase:
>
> str:lower():match("^0x%x+$")
str:match("^%s*0[Xx]%x+%s*$")
--
tom <telliamed@whoopdedo.org>