[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Syntax error in regex pattern

Subject: Re: Syntax error in regex pattern
From: "Wendell Piez wapiez@xxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 13 Jul 2019 21:36:09 -0000
Re:  Syntax error in regex pattern
Liam, I think you know this would be evil, however brilliant.

Different semantics for different quote marks? What will be next,
*stars* for emphasis?

Cheers, Wendell

On Sat, Jul 13, 2019 at 1:36 PM Liam R. E. Quin liam@xxxxxxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, 2019-07-13 at 16:38 +0000, Martin Honnen martin.honnen@xxxxxx
> wrote:
> > The attribute value is treated as an attribute value template where
> > an expression in curly braces is evaluated as an XPath expression.
> Off-topic really, but (like Simon St.Laurent) i still kinda wish we
> could distinguish between single and double quotes around attribute
> values, and then say that $ and { are not special in single-quoted
> attributes. Or have a succinct mechanism to stop specific AVTs
> everywhere.
> You can also write a function, e.g. class, and do,
>    pattern="{ class('lowercase') }"
> or whatever, to make this stuff a bit more readable.
> Liam
> --
> Liam Quin, https://www.delightfulcomputing.com/
> Upcoming courses:
>    CSS for XML People, Rockville MD, August;
>         This course may be repeated in Europe in October.

...Wendell Piez... ...wendell -at- nist -dot- gov...
...wendellpiez.com... ...pellucidliterature.org... ...pausepress.org...
...github.com/wendellpiez... ...gitlab.coko.foundation/wendell...

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.