Filtering...

letter-uscore-chars

books/std/strings/letter-uscore-chars
other
(in-package "STR")
other
(include-book "std/strings/charset" :dir :system)
other
(include-book "xdoc/constructors" :dir :system)
other
(local (include-book "std/basic/code-char-char-code-with-force" :dir :system))
other
(defcharset letter/uscore
  (b* ((code (char-code x)))
    (or (and (<= (char-code #\A) code)
        (<= code (char-code #\Z)))
      (and (<= (char-code #\a) code)
        (<= code (char-code #\z)))
      (eql x #\_)))
  :parents (character-kinds)
  :short "Recognize ASCII letters and underscores.")