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

Re: Trying to replace vertical pipe...

Subject: Re: Trying to replace vertical pipe...
From: Michael Dykman <mdykman@xxxxxxxxx>
Date: Thu, 26 Aug 2010 13:03:20 -0400
Re:  Trying to replace vertical pipe...
Because of string notation, you might have to do some thing like "\\|95\\|"

However, in general for regular expression, using the square brackets
to create a character class takes away the regex magic from most
characters such as '|' and  '.'

   ie : "[|]95[|]"

On Thu, Aug 26, 2010 at 12:53 PM, Paul Harvey <paul_harv_2@xxxxxxxxx> wrote:
> Hmm, get "invalid escape character" when doing that...
>
>
> ----- Original Message ----
> From: David Carlisle <davidc@xxxxxxxxx>
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Cc: Paul Harvey <paul_harv_2@xxxxxxxxx>
> Sent: Thu, August 26, 2010 12:35:35 PM
> Subject: Re:  Trying to replace vertical pipe...
>
> On 26/08/2010 17:26, Paul Harvey wrote:
>> I'm sure I can't be the first to face this, but have been unable to track
down
>>a
>> solution...
>>
> use \| to quote |
>
> ________________________________________________________________________
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
>
> This e-mail has been scanned for all viruses by Star. The service is
> powered by MessageLabs.
> ________________________________________________________________________
>
>



--
 - michael dykman
 - mdykman@xxxxxxxxx

 May the Source be with you.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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-2011 All Rights Reserved.