Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10242

Re: search replace with regex

Date 2011-11-25 17:09 -0500
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: search replace with regex
References <ajjuc752tol3mcbrnlmlup7l5a29aadnuu@4ax.com>
Message-ID <4ed01237$0$290$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 11/25/2011 3:17 AM, Roedy Green wrote:
> I have been using Funduc Search/Replace with works command line, as a
> gui, and with scripts to do multiple search-replaces on multiple
> files.
>
> It work fine, except it uses a proprietary regex quite different from
> Java Regex.  I would like something just like it, but that use Java
> Regex. I have unsuccessfully tried to talk the authors into supporting
> Java syntax.
>
> see http://mindprod.com/jgloss/searchreplace.html
> to see what I mean.
>
> I have not found anything suitable is a short google search.  On my
> todo  list is to write one. What do you use?

If you write something in Java, then you will get Java syntax.

But Java is not special - Java uses standard Perl syntax - and
I would expect there to be utilities that use Perl syntax.

Otherwise then maybe write one in Perl! :-)

Arne


Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

search replace with regex Roedy Green <see_website@mindprod.com.invalid> - 2011-11-25 00:17 -0800
  Re: search replace with regex Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-11-25 07:24 -0400
    Re: search replace with regex Roedy Green <see_website@mindprod.com.invalid> - 2011-11-25 13:46 -0800
      Re: search replace with regex Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-11-26 15:24 -0800
      Re: search replace with regex bugbear <bugbear@trim_papermule.co.uk_trim> - 2011-12-13 09:29 +0000
  Re: search replace with regex Arne Vajhøj <arne@vajhoej.dk> - 2011-11-25 17:09 -0500
    Re: search replace with regex JussiJ <jussij@zeusedit.com> - 2011-12-12 20:15 -0800
      Re: search replace with regex Lew <lewbloch@gmail.com> - 2011-12-13 07:55 -0800

csiph-web