On Regularity of Context-Free Languages