python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
why a^m b^n where m,n > 0 is a regular language but a^n b^n where n > 0 is non regular language
a^m b^n where m,n >= 0 is a regular language but why a^n b^n where n >= 0 is a non-regular language?
In both languages, we are taking an infinite number of a's and b's but why we could build a F...
Priyansh Srivastava
Votes: 0
Answers: 3
Cannot seem to regexp extract a word on URL (Data Studio)
I read from somewhere that Datastudio use little bit different Regular Expression from other places: that it uses RE2. I, however, manage to find a site to test for RE2 regex and able to get it runnin...
FastBoi
Votes: 0
Answers: 1
Draw NFA for regular language
Here I found a example for a regular language.
L = { a^n | n>=2 } is regular. Clearly, we can draw a finite automaton with 3 states.
I was asking myself how this graph would look like. If I choos...
Johnny
Votes: 0
Answers: 2
Javascript Capitalize first letter of each word ignore Contractions
I am trying to Capitalize the first letter of each word in a string. I found similar questions online but none seem to answer my question of ignoring Contractions like can't, won't, wasn't.
This snipp...
Shayne
Votes: 0
Answers: 3