RegEX Group Subnets

HI,

I am unable to get this REGEX to work for a group, it does work via the SQL though. Its a complicated regex that only displays hostnames (IPs) that is within a specific scope. Setting up the group is giving zero results. I changed it on the DB and in the Gui without success.

Please assist if possible

RegEx
^10.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]).(1([0-9][0-9])).([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])$

Librenms group

I’ve had issues with Device groups before and had to give up and just drop to sql. (The gui will sometimes add unwanted spaces.) Also, I am no SQL guy, but I had to escape my periods with backslashes.

Try adding it as a macro then assign the macro to the group.