Probably i have a lot of problem with my knowledge, but here is my next question. I wanna use regular regular expression in my script, but i don't understand why isn't it work for me.
I used a few way them. First of all i don't escaped the dot so it was something like this:
but its so far from where i need to be, so i ask for help, than i got this solution:address~"^(10.100.[1-9]{1,3}.[023456789]{1,3})$"
Here i got errors for ? and for the \d , so they need to be escaped, but how? *divine spark* with double \ .address~^(10[.]100[.][1-9]{1,3}[.](?:[02-9]|1\d){1,3})
Sooo
But in this case give me back a null value as variable, but like in this https://regex101.com/r/X6gdmW/1 site, probably it's must to work isn't it?address~"10\\.100\\.([1-9]\\d*|\\d{2,})\\.([^1]\$|\\d{2,})\$"
I hope someone will know what is the problem with it. Thx