Top "Regular-language" questions

Regular language is a language which can be represented by a regular expression and thus every string in the language can be accepted by the corresponding deterministic finite automaton.

Regular vs Context Free Grammars

I'm studying for my computing languages test, and there's one idea I'm having problems wrapping my head around. I understood …

context-free-grammar regular-language automata
Regular expression for strings with even number of a's and odd no of b's

Im having a problem in solving the problem:- Its an assignment, i solved it, but it seems to be …

string language-theory regular-language
Left-Linear and Right-Linear Grammars

I need help with constructing a left-linear and right-linear grammar for the languages below? a) (0+1)*00(0+1)* b) 0*(1(0+1))* c) (((01+10)*11)*00)* For a) I …

grammar regular-language computation-theory formal-languages
Need Regular Expression for Finite Automata: Even number of 1s and Even number of 0s

My problem may sounds different to you. I am a beginner and I am learning Finite Automata. I am googing …

regular-language finite-automata computation-theory dfa
What is a regular language?

I'm trying to understand the concept of languages levels (regular, context free, context sensitive, etc.). I can look this up …

syntax programming-languages bnf regular-language formal-languages
Why is {a^nb^n | n >= 0} not regular?

In a CS course I'm taking there is an example of a language that is not regular: {a^nb^n | …

computer-science fsm regular-language
Is L = {a^n b^m | n>m} a regular or irregular language?

I have troubles in solving/proving this problem. Any ideas please?

regular-language dfa formal-languages
Representing identifiers using Regular Expression

The regular definition for recognizing identifiers in C programming language is given by letter -> a|b|...z|A|…

regex computer-science regular-language
Finding the complement of a DFA?

I am asked to show DFA diagram and RegEx for the complement of the RegEx (00 + 1)*. In the previous problem I …

regex regular-language automata dfa nfa
Shortest regex for binary number with even number of 0s or odd number of 1s

Write an expression that contains an even number of 0s or an odd number of 1s I got it down …

regex regular-language finite-automata