Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: multi-line Strings Date: Tue, 11 Dec 2012 22:31:39 +0000 (UTC) Organization: UK Free Software Network Lines: 19 Message-ID: References: <7f36342c-2331-4484-874b-4a0f8953f160@googlegroups.com> <50c61150$0$293$14726298@news.sunsite.dk> <50c6413a$0$293$14726298@news.sunsite.dk> <50c6598d$0$290$14726298@news.sunsite.dk> <50c69625$0$293$14726298@news.sunsite.dk> NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1355265099 6431 84.45.235.129 (11 Dec 2012 22:31:39 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Tue, 11 Dec 2012 22:31:39 +0000 (UTC) User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Xref: csiph.com comp.lang.java.programmer:20262 On Mon, 10 Dec 2012 21:10:46 -0500, Arne Vajhøj wrote: > > That require regex to become a part of the language syntax. > Yes, probably, but so would using Python-like """string""" features as was discussed recently. IMO regexes are so powerful and useful that it would be worthwhile making them a special case, but then again I'm not a language designer, so what do I know.... Its just a bit frustrating that there are languages around that can deal with regexes without turning them into an unreadable mess and that Java isn't one of them. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |