Build, test, and debug regular expressions
Detects lines in Minecraft mcfunction files containing the word 'ride' followed later by 'mount' or 'dismount', case-insensitively. It skips commented lines (starting with #) and optionally handles the 'execute ... run <command>' prefix syntax. Useful for finding or validating ride/mount-related commands in Bedrock and Java function files.