Mind map
Regex and BNF
Map content
Regex and BNF
Regular language
- Any language an FSM will accept
Regex- regular expression
- A notation for defining all the valid strings of a formal language
- Formal language
- Defined using its alphabet and rules of syntax
- a matches a string of just "a"
- ab just allows "ab"
- a* allows 0 or more a's
- a+ allows 1 or more a's
- abb? character before ? is optional
- a|b allows a OR b
- Formal language
- A notation for defining all the valid strings of a formal language
BNF- Backus-Naur Form
- A notation for expressing the rules for constructing valid strings in a regular expression
Information
- Description
- Mind Map on Regex and BNF, created by Thomas Webster on 06/05/2015.
- Created by
- Thomas Webster
- Views
- 4
- Rating