Raised This Month: $ Target: $400
 0% 

Case insensitive regex match?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 12-29-2004 , 22:09   Case insensitive regex match?
Reply With Quote #1

Is this possible without using a char class like... [Aa]
I tried using my match string as /match/i and it seems to just break it totally. Any other ideas?
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 12-29-2004 , 22:11  
Reply With Quote #2

hmmmm wait I think I can just use strtolower() on the string to be test before I run it though..... duh.
----

yeap thats working.....
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
BAILOPAN
Join Date: Jan 2004
Old 12-30-2004 , 07:58  
Reply With Quote #3

Unfortunately, I think "case insensitive" has to be a flag you set in the C call, so it might not be available from small.

I'll add it into the next update somehow ;[
__________________
egg
BAILOPAN is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 12-30-2004 , 16:35  
Reply With Quote #4

Quote:
Originally Posted by BAILOPAN
Unfortunately, I think "case insensitive" has to be a flag you set in the C call, so it might not be available from small.

I'll add it into the next update somehow ;[
no big deal unless you really feel like it, cause right now the strtolower thing is working in my situation.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode