[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Difference in string matching between 5.1 and 5.2
- From: Dirk Laurie <dirk.laurie@...>
- Date: Mon, 2 Dec 2013 08:58:24 +0200
2013/12/2 Craig Barnes <craigbarnes85@gmail.com>:
> P.S. The reason Lua 5.1 is matching something is because without
> escapes, the pattern becomes:
>
> "[xC0-xEF][x80-xBF]*"
>
> ...which has a character range of "0-x" (decimal: 48-120) on both
> sides, and by chance includes the full ASCII alphanumeric range, but
> not space (decimal 32).
That's very well explained. Thanks.