The data is coming from a SQL text() field, its input as comments to a
ticket, therefore I have to parse the comment text and find the ticket
numbers.

Any examples of how to do this in java greatly appreciated.

On 3/1/07, Haikal Saadh <[EMAIL PROTECTED]> wrote:
>
> I gave up on the CF RE functions a long time ago. Maybe try using the
> java regexps matching classes instead?
>
> Now, Mr. Occam is waving his razor, so I'll ask why you're storing the
> data in this format? Why not use a list, and then output it later?
>
> [EMAIL PROTECTED] wrote:
> > I am having trouble getting refindnocase to return an array - I know
> > there are more than one match. I am parsing the text in the notes
> > field on our ticketing system and hoping to link up the tix # to the
> > URL for it.
> >
> > Here is my code:
> >
> > <!--- a comment with 3 ticket numbers inside --->
> > <cfset PeriodNote = "#11453<br>#11467<br>#11500 ">
> >
> > <cfset post = ReFindNoCase("##\d+",PeriodNote,1,"True")>
> >
> > <cfdump var="#post#">
> >
> > I tried this stuff about parenteses that the livedocs has -
> >
> > <cfset post = ReFindNoCase("(##\d+)[ ]+(\1)",PeriodNote,1,"True")>
> >
> > but that simply returns nothing - not even one match - what am I
> > missing?
> >
> > Thanks
> >
> >
> > >
> >
>
> --
> Haikal Saadh
> Applications Programmer
> ICT Resources, TALSS
> QUT Kelvin Grove
>
>
> >
>


-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to