|
static bool | rb_enc_is_newline (const char *p, const char *e, rb_encoding *enc) |
| Queries if the passed pointer points to a newline character.
|
static bool | rb_enc_isctype (OnigCodePoint c, OnigCtype t, rb_encoding *enc) |
| Queries if the passed code point is of passed character type in the passed encoding.
|
static bool | rb_enc_isascii (OnigCodePoint c, rb_encoding *enc) |
| Identical to rb_isascii(), except it additionally takes an encoding.
|
static bool | rb_enc_isalpha (OnigCodePoint c, rb_encoding *enc) |
| Identical to rb_isalpha(), except it additionally takes an encoding.
|
static bool | rb_enc_islower (OnigCodePoint c, rb_encoding *enc) |
| Identical to rb_islower(), except it additionally takes an encoding.
|
static bool | rb_enc_isupper (OnigCodePoint c, rb_encoding *enc) |
| Identical to rb_isupper(), except it additionally takes an encoding.
|
static bool | rb_enc_iscntrl (OnigCodePoint c, rb_encoding *enc) |
| Identical to rb_iscntrl(), except it additionally takes an encoding.
|
static bool | rb_enc_ispunct (OnigCodePoint c, rb_encoding *enc) |
| Identical to rb_ispunct(), except it additionally takes an encoding.
|
static bool | rb_enc_isalnum (OnigCodePoint c, rb_encoding *enc) |
| Identical to rb_isalnum(), except it additionally takes an encoding.
|
static bool | rb_enc_isprint (OnigCodePoint c, rb_encoding *enc) |
| Identical to rb_isprint(), except it additionally takes an encoding.
|
static bool | rb_enc_isspace (OnigCodePoint c, rb_encoding *enc) |
| Identical to rb_isspace(), except it additionally takes an encoding.
|
static bool | rb_enc_isdigit (OnigCodePoint c, rb_encoding *enc) |
| Identical to rb_isdigit(), except it additionally takes an encoding.
|
int | rb_enc_toupper (int c, rb_encoding *enc) |
| Identical to rb_toupper(), except it additionally takes an encoding.
|
int | rb_enc_tolower (int c, rb_encoding *enc) |
| Identical to rb_tolower(), except it additionally takes an encoding.
|
Routines to query chacater types.
- Author
- Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org
- Copyright
- This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.
- Warning
- Symbols prefixed with either RBIMPL or rbimpl are implementation details. Don't take them as canon. They could rapidly appear then vanish. The name (path) of this header file is also an implementation detail. Do not expect it to persist at the place it is now. Developers are free to move it anywhere anytime at will.
- Note
- To ruby-core: remember that this header can be possibly recursively included from extension libraries written in C++. Do not expect for instance __VA_ARGS__ is always available. We assume C99 for ruby itself but we don't assume languages of extension libraries. They could be written in C++98.
Definition in file ctype.h.