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


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

Re: negative regexes.

Date 2011-01-29 13:05 -0500
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: negative regexes.
References <cbeaaf3f-66e1-4ef8-a45b-414e7bc43712@glegroupsg2000goo.googlegroups.com> <4d3f7c8c$0$23760$14726298@news.sunsite.dk> <ihpe47$j46$1@online.de> <ihq5la$fnl$1@localhost.localdomain> <vrf8k651cn1lan5jt800fu89usi836gau1@4ax.com>
Message-ID <4d4456db$0$23759$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 29-01-2011 11:30, Roedy Green wrote:
> I think the solution is NOT to use a simple text editor for creating
> and proofreading regexes. The problem of escaping is just too messy.
 >
 > I think it should be done with a plugin to the IDE.  I have written a
 > number of ideas about how such a beast might work.

The general solution of having the programmer write readable code
applies to regex as well.

As was shown then your problem could be solved with very simple
and readable regex.

Obviously it is a lot easier to create a new tool than
to learn people good practices.

But easier is not always better.

Arne

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

Re: negative regexes. Arne Vajhøj <arne@vajhoej.dk> - 2011-01-29 13:05 -0500
  Re: negative regexes. Helium Balloon <hb.3459s._jsf3k@goo.abvg> - 2011-01-29 22:40 -0500
    Re: negative regexes. Lew <noone@lewscanon.com> - 2011-01-29 23:50 -0500
  Re: negative regexes. ClassCastException <zjkg3d9gj56@gmail.invalid> - 2011-01-29 22:07 +0000
  Re: negative regexes. Nougat Surprise <nsurprise@noway.nohow.invalid> - 2011-01-29 13:10 -0500
    Re: negative regexes. Lew <noone@lewscanon.com> - 2011-01-29 22:11 -0500
    Re: negative regexes. Helium Balloon <hb.3459s._jsf3k@goo.abvg> - 2011-01-29 21:11 -0500

csiph-web