AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [VBS] Simple Regexp Syntax updater (https://forums.alliedmods.net/showthread.php?t=321635)

Dragokas 02-20-2020 02:59

[VBS] Simple Regexp Syntax updater
 
1 Attachment(s)
Purpose:
Update .sp to transitional syntax.

This is very simple template. You can add your own rules in Regular.txt file (support regexp).

Arguments are not processed at the moment,
but they can be added by those who know regexp well.

Note: Use it when TOG's updater failed. Otherwise I prefer his version.

Using:
Unpack. Place .sp file in this folder. Run ReplaceByRegular.vbs

==
P.S. Script can be very useful in a lot of other cases (not only syntax update),
since it is working in batch mode - can replace multiple files at once (for settings, see Readme.txt).


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

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