fmt_parser.readcc [method]
fmt_parser.readcc( string class, int num = 2^31-1 (0x7fffffff) )
reads and returns at most num
bytes that match the character class class
- returns null and emits a warning if the class is empty/only contains the inversion symbol "^"
- may return null and emit a warning on unexpected read errors
stream = fmt_string_parser( "what is this" ); stream.readcc( "a-z" ); // returns "what" stream.readcc( "^a-z" ); // returns " "