Next: srfi regexps syntax boundary, Previous: srfi regexps syntax charsets, Up: srfi regexps syntax [Index]
anyMatch any character. Equivalent to ‘ascii’ in an ASCII context.
nonlMatch any character other than ‘#\return’ or ‘#\newline’.
asciiMatch any ASCII character [0, 127].
lower-caselowerMatches any character for which char-lower-case? returns true.
In a Unicode context this corresponds to the ‘Lowercase’ (‘Ll’
+ ‘Other_Lowercase’) property. In an ASCII context corresponds
to ‘(/ "az")’.
upper-caseupperMatches any character for which char-upper-case? returns true.
In a Unicode context this corresponds to the ‘Uppercase’ (‘Lu’
+ ‘Other_Uppercase’) property. In an ASCII context corresponds
to ‘(/ "AZ")’.
title-casetitleMatches any character with the Unicode ‘Titlecase’ (‘Lt’) property. This property only exists for the sake of ligature characters, of which only 31 exist at time of writing. In an ASCII context this is empty.
alphabeticalphaMatches any character for which char-alphabetic? returns true.
In a Unicode context this corresponds to the ‘Alphabetic’ (‘L’
+ ‘Nl’ + ‘Other_Alphabetic’) property. In an ASCII context
corresponds to ‘(w/nocase (/ "az"))’.
numericnumMatches any character for which char-numeric? returns true. In a
Unicode context this corresponds to the ‘Numeric_Digit’ (‘Nd’)
property. In an ASCII context corresponds to ‘(/ "09")’.
alphanumericalphanumalnumMatches any character which is either a letter or number. Equivalent to ‘(or alphabetic numeric)’.
punctuationpunctMatches any punctuation character. In a Unicode context this corresponds to the ‘Punctuation’ (‘P’) property. In an ASCII context this corresponds to ‘"!\"#%&'()*,-./:;?@[\]_{}"’.
symbolMatches any symbol character. In a Unicode context this corresponds to the ‘Symbol’ property (‘Sm’, ‘Sc’, ‘Sk’, or ‘So’). In an ASCII context this corresponds to ‘"$+<=>^`|~"’.
graphicgraphMatches any graphic character. Equivalent to ‘(or alphanumeric punctuation symbol)’.
whitespacewhitespaceMatches any whitespace character. In a Unicode context this corresponds to the ‘Separator’ property (‘Zs’, ‘Zl’ or ‘Zp’). In an ASCII context this corresponds to space, tab, line feed, form feed, and carriage return.
printingprintMatches any printing character. Equivalent to ‘(or graphic whitespace)’.
controlcntrlMatches any control or other character. In a Unicode context this corresponds to the ‘Other’ property (‘Cc’, ‘Cf’, ‘Co’, ‘Cs’ or ‘Cn’). In an ASCII context this corresponds to:
`(/ ,(integer->char 0) ,(integer-char 31))
hex-digitxdigitMatches any valid digit in hexadecimal notation. Always ASCII–only. Equivalent to:
(w/ascii (w/nocase (or numeric "abcdef")))
Next: srfi regexps syntax boundary, Previous: srfi regexps syntax charsets, Up: srfi regexps syntax [Index]