lua-users home
lua-l archive

Re: Difference in string matching between 5.1 and 5.2

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.

AltStyle によって変換されたページ (->オリジナル) /