From: Sherm Pendley Newsgroups: comp.lang.java.programmer Subject: Re: negative regexes. References: <4d3f7c8c$0$23760$14726298@news.sunsite.dk> <4d4456db$0$23759$14726298@news.sunsite.dk> Date: Sat, 29 Jan 2011 13:45:21 -0500 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (darwin) Cancel-Lock: sha1:aJFusiZ/50naCIz/OzZFE7HwH0U= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: $$akwdlfiumnyt.news.x-privat.org Organization: X-Privat.Org NNTP Server - http://www.x-privat.org Lines: 19 X-Authenticated-User: $$ww157ly26rg10c5o-su28nz X-Complaints-To: abuse@x-privat.org Path: csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!gegeweb.org!newsfeed.x-privat.org!x-privat.org!not-for-mail Xref: csiph.com comp.lang.java.programmer:26044 Nougat Surprise writes: > On 29/01/2011 1:05 PM, Arne Vajhøj wrote: >> 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. > > Easier said than done, when regex syntax resembles line noise. *Anything* resembles line noise if you don't speak the language. sherm-- -- Sherm Pendley Cocoa Developer