View Single Post
Old 18/02/2019, 02:58 AM   #31
Huge Clucker
[DK]Dark_Knight's Avatar
Join Date: Apr 2008
Location: New Zealand
Posts: 211
Reputation: 21
Default Re: Pawn.Regex - full support of regular expressions

Plugin works great

However how does one replace text with nothing
new Regex:r = Regex_New("Test ");
Regex_Replace("My Test Text", r, "", str);
Without getting the error
[Pawn.Regex] Plugin::n_regex_replace: invalid str or fmt
If i put any text into the format it works sweet as, but with nothing error.
Normally I would open up the plugin source and sus it out myself, however I am out of town for a while and only have my craptop

Need help with your code or server?
I am willing to help out with your project.
Send me your discord add in a private message along with what you are looking at getting done and I will get in contact with you.
Help Thread
[DK]Dark_Knight is offline   Reply With Quote