Filter Layer7 regex failure

Hello,

I need help to configure this filter layer7 protocol to match Ip address 10.5.46.1 in datagram.
This IP converted to hex = 0a.05.2e.01

I pass this rule :
/ip firewall layer7-protocol add name=IP-LAN-VLAN100 regexp=“\x0a\x05\x2e\x01”
I encounter this error
failure: regexp contains a control character, ., in hex (\x2e). recommended to write this as . or . depending on what you meant

I changed to
/ip firewall layer7-protocol add name=IP-LAN-VLAN100 regexp=“\x0a\x05\x2.\x01”

But not works. He works with other IP address.
I’ve tried several regex without success.

Somebody any idea?

Like the error says, “.” is a control character. “\x2e” is ASCII “.”
Instead of “\x2e” write “\.”

Thanks for the feedback
It works

My regex :
/ip firewall layer7-protocol add name=IP-LAN-VLAN100 regexp=“\x0a\x05\.\x01”