Boost logo

Boost Users :

From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2006-04-12 16:31:30


> -----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?


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