]> git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/redemo.py
regenerated after adding DEBUG_ options
[wxWidgets.git] / wxPython / demo / redemo.py
1 """Basic regular expression demostration facility (Perl style syntax)."""
2
3 from wxPython.wx import *
4 import re
5
6 #----------------------------------------------------------------------
7
8 class ReDemoPanel(wxPanel):
9 def __init__(self, parent):
10 wxPanel.__init__(self, parent, -1)
11
12 rePrompt = wxStaticText(self, -1, "Enter a Perl-style regular expression")
13 reText = wxTextCtrl(self, 101, "")
14
15 options = self.AddOptions()
16
17 sPrompt = wxStaticText(self, -1, "Enter a string to search")
18 sText = wxTextCtrl(self, 102, "", style=wxTE_MULTILINE)
19
20 dispPrompt = wxStaticText(self, -1, "Groups:")
21 dispText = wxTextCtrl(self, 103, "", style=wxTE_MULTILINE|wxTE_READONLY)
22
23
24 #----------------------------------------------------------------------
25 #----------------------------------------------------------------------