lua-users home
lua-l archive

Re: Patterns: Why are anchors not character classes?

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


>> ps:gmatch("(%d+)%f[^%d]")
> I’m sure you know this Paul, but if you are reading CSV and you wish to know which field you’re reading, the frontier pattern breaks down when there are empty fields like in "1,2,,4,5"
Noted. In this case the frontier pattern wasn't doing anything useful,
as we just discussed earlier in the thread.
Paul.

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