Show in graph
Σ*

Theory → Formal Languages

Regular Language

A formal language that can be recognized by a finite automaton.

Motivation

Regular language solves the problem of describing simple pattern-based languages.

Where it fits

Regular Language belongs to automata theory and formal languages.

Mental model

Regular languages can be recognized by finite automata and described by regular expressions.

Common mistakes

  • Assuming regex engines and formal regular expressions are always the same.
  • Trying to parse nested recursive structures with regular languages.

Regular Language connects to finite automaton, regex, formal language, and lexical analysis.