From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out.smtp-auth.no-ip.com (out.smtp-auth.no-ip.com [8.23.224.60]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 9082E21DE01 for ; Wed, 13 Jan 2016 18:28:00 -0800 (PST) X-No-IP: carhart.net@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from carhart.net (unknown [99.52.200.227]) (Authenticated sender: carhart.net@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id F13BC400C14; Wed, 13 Jan 2016 18:28:58 -0800 (PST) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id u0E2St7R020528; Wed, 13 Jan 2016 18:28:55 -0800 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id u0E2StLs020521; Wed, 13 Jan 2016 18:28:55 -0800 Date: Wed, 13 Jan 2016 18:28:54 -0800 (PST) From: Kevin Carhart To: Chris Brannon cc: Edbrowse-dev@lists.the-brannons.com In-Reply-To: <87si2190hb.fsf@mushroom.localdomain> Message-ID: References: <87si2190hb.fsf@mushroom.localdomain> User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Edbrowse-dev] regex criteria interpreted as literals X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2016 02:28:00 -0000 > > Hi Kevin, > Nah, this is perfectly fine JavaScript, but Tidy-HTML5 doesn't like it. > Apparently it converts > va = / to > va = /<\/g; > when in fact it should probably just leave it alone. I thought we'd > gotten through all of this stuff way back in October, but maybe not. Thanks Chris! Do you think I ought to file this in the requests tracker for Tidy, also a question for Geoff if you're around? If you could share the logic with me of how the parser will disambiguate this, if you know, I'm interested. I can understand why it would escape , and you don't need to escape within that? (More of a tidy question but not too far afield I dont think..) thanks Kevin