Lars Huttar <lars_huttar(_at_)sil(_dot_)org> 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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--