Nom: input consuming functions

Hi,

Is there a simple way to tell if this or that standard function is certainly of the consuming kind? Of course I can check myself every function in the library, taking my notes. I'm asking in case the answer is obvious for the cognoscenti :smile_cat:

If it is not obvious after all, I'll have to do it myself, of course, and share the results.

The results of my research: everything is consuming, except for this isolated set:

nom::character::is_alphabetic
nom::character::is_alphanumeric
nom::character::is_digit
nom::character::is_hex_digit
nom::character::is_newline
nom::character::is_oct_digit
nom::character::is_space

Am I correct?

Haven’t used nom in awhile but that sounds about right that the vast majority of the functions will consume

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.