From dev-return-4493-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Fri Mar 30 15:03:47 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 70810180647 for ; Fri, 30 Mar 2018 15:03:47 +0200 (CEST) Received: (qmail 11885 invoked by uid 500); 30 Mar 2018 13:03:46 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 11875 invoked by uid 99); 30 Mar 2018 13:03:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2018 13:03:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 08BEE1A104D for ; Fri, 30 Mar 2018 13:03:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.285 X-Spam-Level: ** X-Spam-Status: No, score=2.285 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URI_HEX=1.313, WEIRD_QUOTING=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id WsLxRQ9RMbrF for ; Fri, 30 Mar 2018 13:03:45 +0000 (UTC) Received: from n5.nabble.com (n5.nabble.com [162.253.133.81]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id B65A65F27B for ; Fri, 30 Mar 2018 13:03:44 +0000 (UTC) Received: from n5.nabble.com (localhost [127.0.0.1]) by n5.nabble.com (Postfix) with ESMTP id 759685284EB4 for ; Fri, 30 Mar 2018 06:03:42 -0700 (MST) Date: Fri, 30 Mar 2018 06:03:42 -0700 (MST) From: "Daniel.Sun" To: dev@groovy.incubator.apache.org Message-ID: <1522415022473-0.post@n5.nabble.com> Subject: About triple quoted string MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, The old parser does not support code like '''str='abc'''' and """str="abc"""" and goes wrong, but the new parser Parrot supports them now. The improvement conforms to "Least Surprise" principle IMO. Any thoughts? Cheers, Daniel.Sun https://github.com/apache/groovy/commit/7e7b508c02bf35e72fca1efcb7cc0d8a4f25038a -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html