Function to match whether there are always n consecutive b ' s ▁ followed ▁ by ▁ n ▁ consecutive ▁ a ' s throughout the string
< ? php function matchPattern ( $ s ) { $ count = 0 ; $ n = strlen ( $ s ) ;