Here's my current setup: (image showing regexr-highlighted strings)
My regexp match is Skript\.register(effect|expression|event|condition)\((.*)\)\;
Basically, I want to match all methods from a source code file that start with Skript.registerwhatever.( and end with );, but the problem is the code can go multiline. If I change (.*) to ([\s\S]*), it completely wrecks and matches everything until the very last );.