Boost logo

Boost Users :

From: Jean-Sebastien Vachon (js.vachon_at_[hidden])
Date: 2006-04-12 16:45:00


On Wed, 12 Apr 2006 16:31:30 -0400, Nat Goodspeed wrote:

>> -----Original Message-----
>> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
>> bounces_at_[hidden]] On Behalf Of Jean-Sebastien Vachon
>> Sent: Wednesday, April 12, 2006 3:38 PM
>> To: boost-users_at_[hidden]
>> Subject: [Boost-users] Validating file names using regex
>>
>> I am sure what I am looking for exist somewhere but I haven't
>> been able to find anything that works in boost::regex.
>>
>> What I am looking for is a regular expression that will validate
>> a filename according to the specification of the OS (UNIX systems
>> and Windows).
>>
>> I would be very grateful if someone could provide me with
>> these two expressions (one for Linux and one for Windows).
>
> [Nat] This isn't what you're asking for -- but would it work to
> instantiate a boost::filesystem::path with the putative pathname in
> question and an appropriate checker?

Hi,

I am currently investigating this solution.

Thanks for the suggestion anyway...


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net