Re: Lpeg for a filename
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lpeg for a filename
- From: Philippe Lhoste <PhiLho@...>
- Date: 2013年11月26日 13:29:20 +0100
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
-- -- -- -- -- -- -- -- -- -- -- -- -- --