What is the difference between pumping Lemma for regualar languages and pumping lemma for context free languages?

377 Views Asked by At

Is there a difference between the pumping lemma for regular languages and the context-free languages? I know that pumping lemma for context-free languages is a generalization of pumping lemma for regular languages. However, there are some languages that are not regular but context-free languages. for example the language ww^-1 is context-free but not regular. So, what is the difference between the two demonstrations?