All articles (example) I read till now about regular expressions and NFAs explain three operations:
- sequence
- alternation (union)
- repetition (Kleene star)
No one talks about negation. Is the negation not regular?
Update:
@RemcoGerlich What does it mean "swap the states". Can you explain it with the Kleene closure?
How would the Kleene closure look with swapped states?