From: Garst A. <a....@ho...> - 2002-09-26 15:22:57
|
Hello All, I'm having trouble with what I think should be an easy search and = replace. What I want to do is replace the new line char(s) with a tab when one = line=20 starts with a R and the next line starts with a T. The following search string finds the right string but nothing happens=20 when I click on the Replace & Find or the Replace All. Any and all = helpful=20 hints would be appreciated. =20 Search For ^R (.*)\n^T Replace with R $1\tT Also tried searching for ^R (.*)\n(?=3D^T) and replacing with R $1\t A sample of the file I'm editing. R PO_HDR L ENG S Unchgd T *Changed A Replace U Yes R PO_HDR_EC L ENG S Unchgd T *Changed A Replace U Yes L ENG S Unchgd T *Changed A Replace U Yes R PO_HDR_FS L ENG S Unchgd T *Changed A Replace U Yes Parts of the Activity log if that helps. Activity log entries that might be useful in a bug report: [message] Log: When reporting bugs, please include the following = information: [message] Log: java.version=3D1.4.0_01 [message] Log: java.vm.version=3D1.4.0_01-b03 [message] Log: java.runtime.version=3D1.4.0_01-b03 [message] Log: java.vendor=3DSun Microsystems Inc. [message] Log: java.compiler=3Dnull [message] Log: os.name=3DWindows 2000 [message] Log: os.version=3D5.0 [message] Log: os.arch=3Dx86 [notice] jEdit: jEdit version 4.0.3 [message] jEdit: Settings directory is C:\Documents and = Settings\axg1\.jedit [message] jEdit: jEdit home directory is C:\Program Files\jEdit 4.0.3 [notice] jEdit: Loading plugins from C:\Program Files\jEdit 4.0.3\jars [notice] jEdit: Loading plugins from C:\Documents and = Settings\axg1\.jedit\jars [message] jEdit: Loading recent file list C:\Documents and = Settings\axg1\.jedit\recent.xml [message] jEdit: Loading mode catalog file C:\Program Files\jEdit = 4.0.3\modes\catalog [message] jEdit: Loading mode catalog file C:\Documents and = Settings\axg1\.jedit\modes\catalog [notice] jEdit: Loading edit mode C:\Program Files\jEdit = 4.0.3\modes\text.xml [message] jEdit: Startup complete Here is the bottom of the activity log if that helps. [message] jEdit: Startup complete [debug] WorkThread: Work request thread starting [jEdit I/O #1] [debug] WorkThread: Work request thread starting [jEdit I/O #4] [debug] WorkThread: Work request thread starting [jEdit I/O #3] [debug] WorkThread: Work request thread starting [jEdit I/O #2] [debug] EditBus: = org.gjt.sp.jedit.msg.BufferUpdate[source=3DUpgrade_Record.lis = (H:\Temp\),what=3DMODE_CHANGED,view=3Dnull] [debug] EditBus: = org.gjt.sp.jedit.msg.BufferUpdate[source=3DUpgrade_Record.lis = (H:\Temp\),what=3DLOADED,view=3Dnull] [debug] EditBus: = org.gjt.sp.jedit.msg.BufferUpdate[source=3DUpgrade_Record.lis = (H:\Temp\),what=3DMARKERS_CHANGED,view=3Dnull] [debug] EditBus: = org.gjt.sp.jedit.msg.SearchSettingsChanged[source=3Dnull] [debug] EditBus: = org.gjt.sp.jedit.msg.SearchSettingsChanged[source=3Dnull] [debug] EditBus: = org.gjt.sp.jedit.msg.SearchSettingsChanged[source=3Dnull] [debug] DockableWindowManager$Entry: Adding log-viewer with position = floating Also want to thank all that work on this fine product. Any idea when the next release will be? Thanks, Andy Andrew (Andy) Garst University of Wisconsin Hospital and Clinics=20 Systems Analyst a....@ho... 608.262.0391 |