Mark Woods wrote:
some more behaviour that's confusing me...
regex "\[UK[[:space:]]+NARIC\:[[:space:]]*([[:print:]]+?)[[:space:]]*]"
string "[Yrs:] [UK NARIC:]"
CF thinks it has found a match for the sub-expression ([[:print:]]+?), but it returns the length of the matched sub-expression as 0. How has it found a match? There are no printable characters between "NARIC:" and the following "]".
I feel like I'm descending into a black hole, which apparently is more of a serious matter than a complete disaster nowadays ;)
Mark
STEP BACK FROM THE REGEX SIR!
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.
It's worked before!
Paul
-- 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]