[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] XML



On 26/11/2012 19:52, Jakub Wilk wrote:
> * Ivan Shmakov <oneingray@gmail.com>, 2012-11-26, 14:32:
>> Seriously, XML takes a lot of concerns off an application programmer. It
>> provides quoting, arbitrary hierarchical structure, support for different
>> encodings, etc. Why, don't you think that $ grep '[[:lower:]]' FILE is ever
>> supposed to work? For surely it isn't: grep has no way to know the encoding of
>> the input file, and relies on the locale instead. On the contrary, XML allows
>> for the encoding to be specified explicitly via a processing instruction. And
>> then, there's XPath, which takes the input dataset structure into account.
> 
> How do you search for a lowercase letter in XPath?
> 

Can't [[:lower:]] work with re:test(...) using the
http://exslt.org/regular-expressions namespace?

-- 
Kind regards,
Loong Jin

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: