


GoogleGooogleGoooGoo
followed by one or
more os, then by glei = indexOf('G', page)
oCount = 0
flag = true
while flag
i += 1
if page[i] == o
oCount +=1
else
flag = false
if oCount < 3
then print("Not a results page!")
if page[i:i+3] == 'gle'
then print("A results page!")a-zA-Z * for zero or moreGoooo*gle (the Google
search bar)searchsearch("Goooo*gle", "Gogle") ⇒
falsesearch("Goooo*gle", "Google") ⇒
falsesearch("Goooo*gle", "Gooogle") ⇒
truesearch("Goooo*gle", "Goooooogle") ⇒
trueif search("Goooo*gle", page) then
print...else print...0-9!|
for alternation(Parens
for grouping)(Ya|G)oooo*(gle|!)equiv("(Ya|G)oooo*(gle|!)","Yahoooo*!|Goooo*gle")contained_in("Yahooo*!","Ya|G)oooo*(gle|!)")