X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Ftextual%2Fparser_bits.h;h=e697654a1182a4d9ed7a1502cc5f65723cf10df9;hb=d60e7a2467ab8be80a06ba670ccba1819ca7c0e4;hp=6ca2a21d9acf6389c3f2fda71bb860d7ce430073;hpb=3ea085ec301ed1399dfa1e9f3a240312dc95410b;p=feisty_meow.git diff --git a/nucleus/library/textual/parser_bits.h b/nucleus/library/textual/parser_bits.h index 6ca2a21d..e697654a 100644 --- a/nucleus/library/textual/parser_bits.h +++ b/nucleus/library/textual/parser_bits.h @@ -90,6 +90,14 @@ public: static bool is_alphanumeric(const basis::astring &look_at, int len); //!< returns true if the string "look_at" is all alphanumeric characters. + static bool is_alpha(char look_at); + //!< returns true if "look_at" is one of the alphabetical characters. + /*!< This includes a to z in either case. */ + static bool is_alpha(const char *look_at, int len); + //!< returns true if the char ptr "look_at" is all alphabetical characters. + static bool is_alpha(const basis::astring &look_at, int len); + //!< returns true if the string "look_at" is all alphabetical characters. + static bool is_numeric(char look_at); //!< returns true if "look_at" is a valid numerical character. /*! this allows the '-' character for negative numbers also (but only for