Create Regex
作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: neoforge
标签: management transportation utility
Regex Override for Create's Frog Filtering
This mod adds the ability to replace Create's default glob-style matching for frogs with full Regular Expression (RegEx) support.
- By default, Create’s simplified glob matching is still used.
- To use RegEx matching, start your address pattern with the prefix:
RegEx: - The mod will then interpret the rest of the address as a Java regular expression and match accordingly.
? Important Note
If RegEx: is followed by a space or other whitespace, that whitespace becomes part of the regular expression — meaning it will only match addresses that start with that space.
? Example
RegEx:hello.*
✅ Matches: hello, helloWorld
❌ Does not match: ⠀hello (with a space at the start)
RegEx: hello.*
(with a space after the colon)
✅ Matches: ⠀hello, ⠀helloWorld (only if the address starts with a space)
❌ Does not match: hello, helloWorld
请登录后举报
暂无评论,抢个沙发吧~