Tell us what it needs to do (in english not in regex speak), and maybe we can help a bit more than just helping when you get stuck.

well, I started the thread with... <snip> string like " [Yrs:4] [UK NARIC:British Bachelor degree std ] "

I want to get "British Bachelor degree std"
</snip>

This isn't really a case of help me find a workaround, more a case of I'd like to know why this isn't working the way I expect it to because either this is a CF bug or I'm misunderstanding something (probably #2).

I've actually no use for an updated regex now. I was using it in a data import script and the data import is now done. Having said that, I'm still very interested in knowing why CF finds a match for
"\[UK[[:space:]]+NARIC\:[[:space:]]*([[:print:]]+?)[[:space:]]*]"
in
"[Yrs:] [UK NARIC:]"
when there are no printable characters between "NARIC:" and the following "]"



Mark


-- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
     *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
          *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



Reply via email to