Skip to content

Instantly share code, notes, and snippets.

@uyjulian
Created May 17, 2023 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uyjulian/e7fb8058107096afe4bb42352a5680bd to your computer and use it in GitHub Desktop.
Save uyjulian/e7fb8058107096afe4bb42352a5680bd to your computer and use it in GitHub Desktop.
_ctype_b\[(.*?)\] & 0x1000 -> isxdigit($1)
_ctype_b\[(.*?)\] & 0x2000 -> isspace($1)
_ctype_b\[(.*?)\] & 0x4000 -> isprint($1)
_ctype_b\[(.*?)\] & 0x8000 -> isgraph($1)
_ctype_b\[(.*?)\] & 0x100 -> isupper($1)
_ctype_b\[(.*?)\] & 0x200 -> islower($1)
_ctype_b\[(.*?)\] & 0x400 -> isalpha($1)
_ctype_b\[(.*?)\] & 0x800 -> isdigit($1)
_ctype_b\[(.*?)\] & 0x1 -> isblank($1)
_ctype_b\[(.*?)\] & 0x2 -> iscntrl($1)
_ctype_b\[(.*?)\] & 0x4 -> ispunct($1)
_ctype_b\[(.*?)\] & 0x8 -> isalnum($1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment