Re: [xsl] Trying to replace vertical pipe...

Subject: Re: [xsl] Trying to replace vertical pipe...
From: iwanttokeepanon <iwanttokeepanon@xxxxxxxxx>
Date: Thu, 26 Aug 2010 15:30:05 -0500
Lars Huttar <lars_huttar@xxxxxxx> wrote:

>> 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[|]"
>>
>
> That's one way to do it; but the risk is that it makes other characters
> magic, such as ']' and '-'.

Actually ']' isn't magic if it is first and '-' isn't magic if it is
first or last.  So you can still fit both into a character class if
you are careful about it.

> Lars

--
Rodman

Current Thread