lua-users home
lua-l archive

Re: Lpeg for a filename

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


On 25/11/2013 20:28, Georgios Petsagourakis wrote:
I am trying to get lpeg to catch filenames.
I found that there is a set of not allowed characters for the filenames or
extensions which are the following:
/ \ ? % * : | " < > .
Curious to ask this without specifying which filesystem you target!
% and . are perfectly legal in Windows' filenames... Unless you exclude all characters rejected by all systems...
Note that Windows rejects some specific names, like con or prn...
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --

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