Jump to content
Sign in to follow this  
killzone_kid

ArmA RegEx Extensions: regex_match.dll and regex_replace.dll

Recommended Posts

I'm not a coder but this looks like a great step forward. Good job KK.

Share this post


Link to post
Share on other sites

Very nice :bounce3:

Share this post


Link to post
Share on other sites

After a day of frustration with trying to make both extensions secure against possible client side exploits, I realised support for extensions in Arma is non existent. Therefore my conscience will not allow me to release my extensions properly until BIS added the way to make the use of extensions less of a security risk. You can sign extensions but ArmA will refuse to check them even if they are right next to .pbos in AddOns. It is laughable at least.

Please close this thread.

Share this post


Link to post
Share on other sites

extensions security is WIP

Share this post


Link to post
Share on other sites

I'm trying to use regex_replace to replace single backslashes with double backslashes in a string, and although it works when ran from my debug box, it returns a blank string when ran on a dedicated server,

{
	if (_x find "\" > -1) then {
		_newString = "regex_replace" callExtension format ["|\\|\\|%1",_x];
		diag_log format ["new string: %1",_newString];
		_textures set [_forEachIndex,_newString];
	};
} forEach _textures;

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×