Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2210
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: regex puzzle |
| Date | 2012-10-31 16:22 -0700 |
| Organization | Canadian Mind Products |
| Message-ID | <0sb3981redva1j08nfo2cv52fco0ku70rf@4ax.com> (permalink) |
| References | <olqt88d9p21pf9nau0j4pke7kmhq08u5o4@4ax.com> <f7a2eec3-eca9-468a-8d8a-3d8bf360a530@googlegroups.com> <pgiv881g37e73fek318423bvrmtncgto4e@4ax.com> <slrnk8vmks.svs.hjp-usenet2@hrunkner.hjp.at> <e9c2989a47kmn6ndfgn6glqaoduqngd0k7@4ax.com> |
On Wed, 31 Oct 2012 07:11:47 -0700, Roedy Green <see_website@mindprod.com.invalid> wrote, quoted or indirectly quoted someone who said : I found a utility that might do, PowerRegex. But they want about $150 for it, there are hints you have to rebuy it for every bug release. It seems GUI focused and DEBE. >2. write one Let's say I do this and offer it open source, free. I have written a number student regex projects. Implementing them all would be quite a hunk of work. I am trying to think of a minimalist start, enough to solve by current problem, still be useful to others, and open to gradual evolution. I thought it would be script driven. I need a format for a script that 1. describes which files to apply it to. 2. supplies pairs of search/replace regexes 3. allows search-only 4. deals with regexes that end in spaces. Presume you can trust editors to leave them in peace. It would need ability to suppress replace, just search. It would allow you run single step or run to end of file, or end of dir or everything. Regex itself handles binary. Later add some way of dealing \uxxxx in regexes. handle non-regex, case-insensitive/case-sensitive without having to embed commands in regexes, negative wildcards. GUI to edit script. HTML module where space, spaces, tab, nl all match space in searches. proofread composer/proofreader that uses colour to let you know which chars are being used as literal/commands. anonymous one-shot scripts. ability to touch up searched text in middle of search with minimal text editor or launch to favourite with line number/offset. Undo. Any ideas on ideal format for an extensible script file? -- Roedy Green Canadian Mind Products http://mindprod.com When discusing on the Internet, anything you say is presumed to contradict someone else. If you are not, it is wise to explicitly state that you agree with or are elaborating on what someone else said. You can do this efficiently by starting your post with the word "Further" or "Also".
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
regex puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-10-29 13:46 -0700
Re: regex puzzle Lew <lewbloch@gmail.com> - 2012-10-29 14:48 -0700
Re: regex puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-10-30 05:59 -0700
Re: regex puzzle "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2012-10-30 14:48 +0100
Re: regex puzzle markspace <-@.> - 2012-10-30 14:16 -0700
Re: regex puzzle "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2012-10-31 09:54 +0100
Re: regex puzzle markspace <-@.> - 2012-10-31 11:25 -0700
Re: regex puzzle "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2012-11-01 13:56 +0100
Re: regex puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-11-01 18:46 -0700
Re: regex puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-10-31 07:09 -0700
Re: regex puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-10-31 07:11 -0700
Re: regex puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-10-31 16:22 -0700
Re: regex puzzle markspace <-@.> - 2012-10-31 17:29 -0700
Re: regex puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-11-01 18:43 -0700
Re: regex puzzle Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-10-30 16:39 -0700
Re: regex puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-10-31 07:33 -0700
csiph-web