Python Programs #98: Re.findall() & Re.finditer()

preview_player
Показать описание
Full Playlist:
Рекомендации по теме
Комментарии
Автор

yaa bro this code doesn't work for all the test cases

agudurubhuvaneswarreddy
Автор

this code doesn't work on all the test cases.

shubhamgupta
Автор

if we change the expression to this
pattern = r'[QWRTYPSDFGHJKLZXCVBNMqwrtypsdfghjklzxcvbnm]([AEIOUaeiou]{2, })(?=[QWRTYPSDFGHJKLZXCVBNMqwrtypsdfghjklzxcvbnm])'


it works properly

agudurubhuvaneswarreddy