Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
/ patchEx Public archive

Regex powered template manager for automated code patching

Notifications You must be signed in to change notification settings

toobeeh/patchEx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

patchEx

I desparately am in need of some tool that makes that utterly boring sourcecode patching after a skribbl.io update instead of me.
This is designed to work in two fabulous ways:

  • Inserting code after the first match group of a regex
  • Replacing text in the code to some values that are found via regex match groups.

So, my workflow is basically adding my code to the source and replacing constants in my code with values from the source found by the regex.
Live at https://tobeh.host/patchEx

For usage & shortcuts visit the website. For an example usage, load the skribblPatchConfig in ./js.
This patch will work with skribbl's 2021 update in any beautified version.

Known bugs:

  • Editing a imported injection / replacement does not work
  • Repeatedly patching often errors. Reloading after a patch fixes this.

Possible improvements:

  • Changing order of groups
  • Detailed success-output (successrate, marking a group & its patches as successful / failed)

About

Regex powered template manager for automated code patching

Resources

Stars

Watchers

Forks