W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > April 2013

RE: [Issue-67] [Action-385] Work on regex for validating regex subset proposal

From: Pablo Nieto Caride <pablo.nieto@linguaserve.com>
Date: Thu, 4 Apr 2013 17:53:41 +0200
To: "'Jirka Kosek'" <jirka@kosek.cz>
Cc: <public-multilingualweb-lt@w3.org>
Message-ID: <05cc01ce314c$9484cdd0$bd8e6970$@linguaserve.com>
Hi Jirka,

It should not match invalid expressions since it only support character classes, ranges and negations, but still needs a bit of polishing regarding escapes. I don't think we need a BNF grammar, but it's not mine to decide, I just doing what I'm supposed to.

Cheers,
Pablo.
__________________________________

On 4.4.2013 17:12, Pablo Nieto Caride wrote:
> Please, implementers and whoever that is interested, give feedback if 
> necessary so I can move forward and evolve the regex.

Hi,

since such complex regular expressions are mostly write-only (it's very hard to understand what they are trying to match) I'm not sure what's the point of having this complex regular expression for checking our regular expression syntax subset. I haven't tried to get deep understanding of this expression but I bet it will match even invalid expressions. If we want to have rigorous definition of our RE syntax we should provide its definition as grammar written in BNF.

					Jirka

--
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------
Received on Thursday, 4 April 2013 15:54:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:07 UTC