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


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

Re: search replace with regex

Date 2011-12-13 09:29 +0000
From bugbear <bugbear@trim_papermule.co.uk_trim>
Newsgroups comp.lang.java.programmer
Subject Re: search replace with regex
References <ajjuc752tol3mcbrnlmlup7l5a29aadnuu@4ax.com> <lVKzq.74340$SW4.56763@newsfe08.iad> <mi20d7dt3qgn4mbdahl3gt0dgo7lkr5f6f@4ax.com>
Message-ID <cY6dnXMecuFih3rTnZ2dnUVZ7qydnZ2d@brightview.co.uk> (permalink)

Show all headers | View raw


Roedy Green wrote:

>
> It has also dawned on me that XML is a quite reasonable language to
> define scripts.  You can create it with a gui.  You can play with in
> with XML tools safely. You can edit it externally. It already has a
> mechanisms for comments, handling awkward characters and treating
> multiple spaces as significant.  It is easy for others to generate
> with custom apps since they can avoid dealing with some of the messy
> details.

If most of the files you wish to manipulate are XML,
XML is a lousy language to define the manipulation in.

You end up needing to escape everything.

  BugBear

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