TOPICS
Search

Regular Language


A regular language is a formal language recognized by a finite automaton. Equivalently, regular languages are exactly the languages denoted by regular expressions (Hopcroft et al. 2000).

Over a fixed alphabet, the class of regular languages contains the empty language and every language consisting of a single string. It is closed under union, intersection, complement, concatenation, and Kleene star, the operation of taking all finite concatenations of words from a language. These closure properties provide ways to construct regular languages. The pumping lemma gives a necessary property of every regular language and is commonly used to prove that a formal language is not regular.

Every regular language admits a generalized regular expression of generalized star height at most 3 over its original alphabet (OpenAI 2026). Generalized expressions allow complement relative to all words over that alphabet. Toledo independently verified the formalized upper bound.


See also

Complement, Concatenation, Finite Automaton, Formal Language, Generalized Star Height, Intersection, Kleene Star, Pumping Lemma, Regular Expression, Star Height, String, Union

Explore with Wolfram|Alpha

References

Hopcroft, J. E.; Motwani, R.; and Ullman, J. D. Introduction to Automata Theory, Languages, and Computation, 2nd ed. Reading, MA: Addison-Wesley, 2000.OpenAI. "Generalized Star Height at Most Three." Sep. 25, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Generalized-Star-Height-at-Most-Three-September-25-2026/article.pdf.Toledo, C. "OpenAI Math Kernel Certificates." https://github.com/carlostoledo1891/cert-machine/blob/9814e4c06281e34a113ce853d7d99ccce160b750/certs/openai-math-kernel.json.

Cite this as:

Weisstein, Eric W. "Regular Language." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/RegularLanguage.html

Subject classifications