SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 14/04/2018, 07:39 AM   #31
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 117
Reputation: 225
Default Re: Pawn.Regex - full support of regular expressions

IsPasswordCorrect(szPassword[])
{
static Regex:rPASS;

if(!rPASS) rPASS = Regex_New("^[a-zA-Z0-9!@#\\$%\\^&*()_+-\\[\\];\\\\<>,\\.\\/?`~\"]{5,30}+$");

return Regex_Check(szPassword, rPASS);
}
YourShadow is offline   Reply With Quote
Old 18/04/2018, 05:43 AM   #32
irani
Little Clucker
 
Join Date: Dec 2013
Location: Tehran
Posts: 3
Reputation: 1
Default Re: Pawn.Regex - full support of regular expressions

Hiw can I use this plugin in OnPlayerCommandText for multiple params, not just one, like params[0], params[1]
__________________
irani is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] Regular Expressions Plugin v0.2 (RegEx) Koala818 Plugin Development 22 09/09/2016 07:36 AM
[Tutorial] Converting to ALS 4 (Hook Method 7) Very Quickly With Regular Expressions [HLF]Southclaw Tutorials 1 29/07/2014 08:12 PM
Need help and full support monkuttan Server Support 33 16/11/2013 02:35 PM
expressions string to expressions? iJumbo Scripting Help 9 05/05/2013 12:56 AM
[REGEX] Acceptable nickname regular expression ikkentim Scripting Help 1 29/01/2013 08:13 PM


All times are GMT. The time now is 04:42 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.