Home | Trees | Indices | Help |
|
---|
|
Finding (and Replacing) Nemo
Instant Regular Expressions Created by Aristide Grange
|
|||
Zone | |||
FindZone | |||
ReplaceZone |
|
|||
|
|
|||
windowTitle = "Finding (and Replacing) Nemo"
|
|||
initialFind = r"n(.*?)e(.*?)m(.*?)o"
|
|||
initialRepl = r"M\1A\2K\3I"
|
|||
initialText = "
|
|||
images = {"FIND": "R0lGODlhMAAiAPcAMf/////37//35//n1v97Off///f
|
|||
colors = ["#FF7B39", "#80F121"]
|
|||
emphColors = ["#DAFC33", "#F42548"]
|
|||
fieldParams = {"height": 3, "width": 70, "font":("monaco", 14)
|
|||
textParams = {"bg": "#F7E0D4", "fg": "#2321F1", "highlightthic
|
|||
root = tk.Tk()
|
|||
sz = FindZone("find", initialFind, initialText)
|
|||
rz = ReplaceZone("repl", initialRepl, "")
|
|||
rex0 = sre.compile(r"(?<!\\)\\([0-9]+)")
|
|
initialText
|
images
|
fieldParams
|
textParams
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed May 16 22:47:19 2007 | http://epydoc.sourceforge.net |