Regex matching in routing tables does not work
radostin04 opened this issue ยท 2 comments
Is there an existing issue for this?
- I have searched the existing issues
Description of the Bug
Regex matching (with the ?= operator for Name and Dest) does not function. Even when the string should be match, a routing detector never produces an output and routing switches never switch
Railcraft Reborn version
1.1.1
NeoForge/Forge version
NeoForge 47.1.101
Minecraft version
1.20.1
Minecraft server
No
To Reproduce
- Place a track and a routing detector next to it
- Place a locomotive on the track and give it a ticket with a destination such as "Test"
- Place a routing table inside the routing detector, with some regex that should match the string set in the ticket. For example, for the destination Test,
Dest?=Test
,Dest?=Test$
andDest?=.*
should all match.
Expected behavior
The routing detector should produce a redstone signal when the regex defined in the routing table matches the locomotive's ticket
Logs & Environment
No response