Re: Help on regex pattern in refindnocase

2007-12-21 Thread Ben Doom
Inside a set of brackets, you have a character class. What a character class indicates is "one of these" or, with the ^ at the beginning, "not one of these". Here, your parentheses have no meaning, other than they are not allowed. You also are only matching one, not many, characters. So ")

Re: Help on regex pattern in refindnocase

2007-12-21 Thread Charlie Griefer
ah, i see. no, i thought you were just parsing a filename. i missed the fact that you were searching a longer string for any instances of gifs not named 'blank'. i got nothing off the top of my head (my regex fu is weak), but i'll play around. i'm sure one of the ninjas will stop by soon tho wi

Re: Help on regex pattern in refindnocase

2007-12-21 Thread Kris Jones
Well, the issue here is that the content will probably contain multiple gifs, and I want to know if any of them are not "blank.gif". Does that make sense? Or am I just not seeing the light here? Cheers, Kris On Dec 21, 2007 1:36 PM, Charlie Griefer <[EMAIL PROTECTED]> wrote: > why not just (list

Re: Help on regex pattern in refindnocase

2007-12-21 Thread Charlie Griefer
why not just ? short-circuit evaluation would mean that if the file extension isn't "gif", the other conditional never fires, so it should still be relatively efficient. On Dec 21, 2007 10:25 AM, Kris Jones <[EMAIL PROTECTED]> wrote: > Not being a big regex wizard, I'm sure I'm missing something

Help on regex pattern in refindnocase

2007-12-21 Thread Kris Jones
Not being a big regex wizard, I'm sure I'm missing something basic here. I'm trying to check some content for existence of gif images that are not named "blank.gif". My if statement looks like: However, this is not accounting for any gif where the filename prior to the extension ends in b, l, a,

Re: More Refindnocase woes

2003-06-03 Thread W Luke
> > > > > Also, you do not need to use ReFindNoCase since you are not using a > regular > expression, you can simply use FindNoCase the syntax is basically the same. > > HTH > > Donnie Bachan &g

Re: More Refindnocase woes

2003-06-03 Thread Donnie Bachan
Found #i# Also, you do not need to use ReFindNoCase since you are not using a regular expression, you can simply use FindNoCase the syntax is basically the same. HTH Donnie

More Refindnocase woes

2003-06-03 Thread W Luke
ed to keep the cfloop as it is really, so any changes would best be done in the refindnocase itself if that's possible. The problem is that in this example, #i# would find all 3. I only ever want it to return the first *found* country. I'm already limiting the text-to-be-searched by 3

Refindnocase trouble

2002-06-01 Thread W Luke
be added to 2 seperate lists, and inserted into a DB (so that link1.cfm and Apples and Pears are both added to the same DB record - I think this is the best way to do it). How, though, can I loop through *all* of the cfhttp var - refindnocase? - and add each valid link and text to their respect

Re: Which is faster - REFind() or REFindNoCase()?

2002-01-28 Thread Michael Dinowitz
http://www.fusionauthority.com/alert/index.cfm?alertid=5#Tech2 The results are from CF 4.5 but you can see the basics. At 07:05 PM 1/28/02, you wrote: >Offhand, I'd think REFind() would be faster than REFindNoCase(), since >neither the string being tested, nor the RE would have to

Which is faster - REFind() or REFindNoCase()?

2002-01-28 Thread Jim McAtee
Offhand, I'd think REFind() would be faster than REFindNoCase(), since neither the string being tested, nor the RE would have to transformed to all caps (or all lowercase) prior to the test. If I've got an RE that already takes into account case insensitiviy by using character clas

Re: REFindNoCase and "]"...

2001-11-19 Thread Chris Norloff
iginal Message -- from: "Lee Fuller" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] date: Thu, 15 Nov 2001 11:27:25 -0800 >Ok.. I've tried just about every way I know of to escape this puppy (the >"]" character) so that I can

Re: REFindNoCase and "]"...

2001-11-15 Thread Marlon Moyer
REFindNoCase("\]",Test) At 11:27 AM 11/15/2001 -0800, you wrote: >Ok.. I've tried just about every way I know of to escape this puppy (the >"]" character) so that I can search for it in a string using >REFindNoCase. > >Anyone have experience

RE: REFindNoCase and "]"...

2001-11-15 Thread Rick Osborne [Mojo]
Lee Fuller asked: > Ok.. I've tried just about every way I know of to escape > this puppy (the "]" character) so that I can search for it > in a string using REFindNoCase. In a character class, you have to make the right bracket the first cha

REFindNoCase and "]"...

2001-11-15 Thread Lee Fuller
Ok.. I've tried just about every way I know of to escape this puppy (the "]" character) so that I can search for it in a string using REFindNoCase. Anyone have experience with this one? TTAIA Lee ~~ Your ad could be here.

Re: REFindnocase - Parsing URL's (spidering)

2001-06-03 Thread Dain Anderson
g position for our search. */ Start = 1; /* Set a pointer to our CFHTTP.FileContent data. */ Page = CFHTTP.FileContent; /* Build a table for output. */ WriteOutput("HREFText"); /* Loop through our data in search of hyperlinks. */ while(NOT Exit) { /* Match any occurence of a UR

Re: REFindnocase - Parsing URL's - final code

2001-06-02 Thread chaack
uot;<","ALL")) >> > > > > > > > > > > #url# > > > - Original Message - > From: "Jon Hall" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Saturday

Re: REFindnocase - Parsing URL's - final code

2001-06-02 Thread Dick Applebaum
At 7:07 PM -0400 6/2/01, Jon Hall wrote: >For anyone else that is interested here is the final code. >This program will parse out url's out of any file. > >Still think there is a better way to do this though... Yeah, there is... you can do it with 2 ReReplaceNoCase commands: ]+>[^\<]+\<\

Re: REFindnocase - Parsing URL's - final code

2001-06-02 Thread Jon Hall
om: "Jon Hall" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, June 02, 2001 6:16 PM Subject: Re: REFindnocase - Parsing URL's > Simple, just delete the the first line and change the name of your variable > to 'h'. > &g

Re: REFindnocase - Parsing URL's

2001-06-02 Thread Jon Hall
g in #coldfusion on efnet. /nick flux0 jon - Original Message - From: "W Luke" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, June 02, 2001 5:22 PM Subject: Re: REFindnocase - Parsing URL's > Jon, > > How might I change

Re: REFindnocase - Parsing URL's

2001-06-02 Thread W Luke
sgroups: cf-talk Sent: Saturday, June 02, 2001 9:57 PM Subject: Re: REFindnocase - Parsing URL's > Wow, now this is too much of a coincidence. I just opened up my email > program to post a message saying I had just successfully written a program > that parses url's out of a

Re: REFindnocase - Parsing URL's

2001-06-02 Thread Jon Hall
;","ALL")# - Original Message - From: "W Luke" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, June 02, 2001 4:38 PM Subject: REFindnocase > Hi, > > I need to search for any URLs that exist in #tbody# and if so,

REFindnocase

2001-06-02 Thread W Luke
Hi, I need to search for any URLs that exist in #tbody# and if so, dump the whole URL into a new variable called #user_URL# I've done a basic REfindnocase to check if there is a URL in the string, but that only finds the position(s). Hw can I then grab the whole of the URL? If z re

Re: Stopping REFindNoCase

2000-08-16 Thread Don Vawter
"Robert Weimer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 16, 2000 3:07 PM Subject: Stopping REFindNoCase > I need to find the position of a string matching the following > convention. I need to retrieve the string value after the equal sign -

Stopping REFindNoCase

2000-08-16 Thread Robert Weimer
I need to find the position of a string matching the following convention. I need to retrieve the string value after the equal sign - I've got the following, which "works," but takes way too long. var_ResponseMessage= REFindNoCase("(ResponseM