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

RE: Sequence of chars not working with analyze-string

Subject: RE: Sequence of chars not working with analyze-string
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Sun, 7 May 2006 15:17:49 +0200 (CEST)
RE:  Sequence of chars not working with analyze-string
Michael Kay wrote:

  Hi

> .{30,60} matches any sequence of characters with a minimum
> length of 30 and a maximum length of 60, and generally
> speaking unless specified otherwise a regular expression
> will match the longest sequence of characters it can.

> So it's clear why it's doing what it does. I don't have
> time right now to suggest what you should be doing
> instead.

  I didn't study this case in details, but I guess that use
substring() or that replace the regexp "(.{30,60})" by
".{30}(.{1,30})" will do the job, if I right understood
the requierments.

  Regards,

--drkm



























	

	
		
___________________________________________________________________________ 
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services prifiris : virifiez vos nouveaux mails, lancez vos recherches et suivez l'actualiti en temps riel. 
Rendez-vous sur http://fr.yahoo.com/set

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-2013 All Rights Reserved.