fix: Don't allow comparison regexp to reach too far