Elamur Dictionary

alnum

English · noun

Senses

Sense 1 · noun · corpus

corpus

A label in computer text patterns for letters and digits.

Source: Mova's open texts. Licence: cc-by-sa-4.0.

Usage and labels

corpus

In the examples, [:alnum:] names a character class; an underscore is added separately.

Examples

2 source examples.

  • The editor Vim further distinguishes word and word-head classes (using the notation \w and \h) since in many programming languages the characters that can begin an identifier are not the same as those that can occur in other positions: numbers are generally excluded, so an identifier would look like \h\w* or [[:alpha:]_][[:alnum:]_]* in POSIX notation. — Wikipedia: Regular expression (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
  • Two additional non-POSIX classes understood by some tools are [:ascii:], for ASCII characters, and [:word:], which is usually defined as [:alnum:] plus underscore. — Wikipedia: Regular expression (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)

Notes and derived forms

corpus

Sources

Mova's open texts. Licence: cc-by-sa-4.0.

This page in Markdown https://md.dictionary.elamur.ai/free/en/english/alnum/