Boost logo

Boost Users :

Subject: Re: [Boost-users] [program_options][1.35] validating string value
From: Soumen (soumen78_at_[hidden])
Date: 2010-02-17 05:58:16


Using regex can help you, maybe?

Say, my switch name is "semantic_check" and possible values are "on" (turns
on the checker, issues warning when something fails), "off" and "error"
(changes severity of warning to error). Could you cite an example code
snippet me how regex may help?

Regards,
~ Soumen

-- 
View this message in context: http://old.nabble.com/-program_options--1.35--validating-string-value-tp27621865p27622050.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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