Troy Simpson wrote:

> I want to find all items in a list that begin with an "I" and followed
> by digits only.
> Is there a global options in REFindNoCase function so that I can run it
> once and then loop throught the pos and len arrays?
> 
> <cfset sString = "I1, TITLE1, I22, TITLE22, I333, TITLE333, I4444,
> TITLE4444">
> <cfset x = REFindNoCase( "I[0-9]+", sString, 1, TRUE )>
> <cfoutput>#ArrayLen( x.pos )#</cfoutput>  -- This should return 4,
> right?


No.


> Why Not?


Unfortunately it was implemented differently. I hope Neo will change this.

Jochem
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to