The YAML Grammar as YAML
:026: b-char
# b-char ::=
#   b-line-feed | b-carriage-return
b-char:
  (any):
  - b-line-feed
  - b-carriage-return
#===============================================================================
# The (---) operator here matches if the next character is in the first range,
# but not in any of the following ranges.
#===============================================================================
:027: nb-char
# nb-char ::=
#   c-printable - b-char - c-byte-order-mark
nb-char:
  (---):
  - c-printable
  - b-char
  - c-byte-order-mark