<-^^->

Přednáška 8

Cvičení

  1. Write a program that will show 2 entries. The first entry will be used for entry of text, the second one for entry of search string. A label positioned above the entries will display "yes" if the string in the second entry is part of the first entry and "no" if it isn't. Below the entries there will be a button that would trigger update of the label.
  2. Modify the previous program to show the text in first entry in the label. If the text in the second entry is part of the first string it should be highlighted using bold letters.
  3. Modify the previous program to work with regular expressions in the second entry.