xsl-list
[Top] [All Lists]

Re: [xsl] Quoting meta characters for a regular expression character class

2008-08-26 07:34:23
Dimitre Novatchev wrote:

  Hi Dimitre,

Try whether
http://www.xsltfunctions.com/xsl/functx_escape-for-regex.html
does what you want.

Or simply use a more generally applicable function -- the
f:str-dropWhile() function of FXSL like this:

  At first glance, it seems that your example cuts the largest
substring at the end of the string, that is exclusively compound by
some characters in a list.  How is this related to escaping a string
regarding regexes?  It seems I missed something.

  Regards,

--drkm
























      
_____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

--~------------------------------------------------------------------
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>
--~--