Raised This Month: $ Target: $400
 0% 

[HELP] I have a problem with regex in my plugin.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 04-04-2009 , 20:02   Re: [HELP] I have a problem with regex in my plugin.
Reply With Quote #3

PHP Code:
if (nNumber >= 1) {
   
//server_print("regexok") // debug line
   
return true
  
}
 
  
// Free the regex memmory.
  
regex_free(rgxMatch)
 }
 return 
false 
}

--->
 
  
// Free the regex memmory.
  // You must do this no matter what(I think, I don't know anything about regex)
  // and when you returned true it stopped the funcion without doing this.
  
regex_free(rgxMatch);
 }
 return 
nNumber true false;

__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
 



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 02:21.


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