|
Boost Users : |
Subject: Re: [Boost-users] [program_options][1.35] validating string value
From: michele.caini_at_[hidden]
Date: 2010-02-17 06:18:29
Something like [on¦off¦error] is enough, for that simple case. ;)
----- Reply message -----
Da: "Soumen" <soumen78_at_[hidden]>
Data: mer, feb 17, 2010 11:58
Oggetto: [Boost-users] [program_options][1.35] validating string value
A: <boost-users_at_[hidden]>
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 mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users
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