]> git.saurik.com Git - wxWidgets.git/blame - wxPython/demo/redemo.py
don't process VK_OEM_XXX key presses
[wxWidgets.git] / wxPython / demo / redemo.py
CommitLineData
f6bcfd97
BP
1"""Basic regular expression demostration facility (Perl style syntax)."""
2
3from wxPython.wx import *
4import re
5
6#----------------------------------------------------------------------
7
8class 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#----------------------------------------------------------------------