-
-
Save maxice8/eb25fea18d6cdf9410f846beae2f2874 to your computer and use it in GitHub Desktop.
Regex to replace all occurrences of add_accepted_culture from Ante Bellum
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(\s*)if\s*=\s*\{ | |
\s*limit\s*=\s*\{ | |
\s*NOT\s*=\s*\{\s*accepted_culture\s*=\s*([A-Za-z_]*)\s*\} | |
\s*\} | |
\s*add_accepted_culture\s*=\s*[A-Za-z_]* | |
\s*\} | |
\s*else\s*=\s*\{ | |
\s*add_dip_power\s*=\s*[0-9]* | |
\s*\} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment