Re: Follow up on regular expressions in ITS 2.0

On 20.11.2012 16:12, Norbert Lindenberg wrote:

> Actually, my question came more from the ECMAScript point of view: Which of these features would the regular expressions in ECMAScript have to support in order to make a "simplification" layer unnecessary for most applications? E.g., do you anticipate that character blocks will be commonly used, or only in rare situations? If developers using ITS were given a choice between character blocks and scripts [1, 2], which ones would they choose? Do ITS developers really need the XML-specific escapes \i, \I, \c, \C?

I think that the most used feature will be character class substraction.
I don't think that escapes like \i, \c, ... will be used that much.
Actually those could be removed from spec, but this would mean that we
will introduce yet another incompatible RE subset. We don't want to
prolifer RE syntax so we have chosen one which is the most used in the
context of XML -- one defined in XML Schema.

    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 Tuesday, 20 November 2012 15:45:06 UTC