Re: How to escape the hyphen char in set by char parser?

Seth <[email protected]> Tue, 17 Jul 2018 08:28:14 +0200
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 17-07-18 01:47, Henri Menke wrote:
>
>    char_("abcdx") | char_('-') | char_('+');

Of course, you can use the hyphen leading or trailing:


      char_("-+abcdx")


is fine


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general