Your regex matches two complete different OID trees.
Here these will match.
.1.3.6.1.4.1.12356.101.1.1
.1.3.6.1.4.1.12356.101.1.51
.1.3.6.1.4.1.9.1.1
.1.3.6.1.4.1.9.1.3
Is this what you want?
If yes i would write the detect a little bit different and without regex.
detect=any_of(startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.12356.101.1"),
startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.9.1")),