Good evening all,
Benn trying to figure out what the expression IfMatch=^$ actually means? I can't seen to find the answer anywhere.
It is currently April 19th, 2024, 2:54 am
Help with IfMatch=^$
-
- Posts: 23
- Joined: September 11th, 2012, 3:36 am
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Help with IfMatch=^$
What it means is ^ start of string, followed immediately by $ end of string. In other words, if the string is empty it matches.
https://www.rexegg.com/regex-quickstart.html
-
- Posts: 23
- Joined: September 11th, 2012, 3:36 am
Re: Help with IfMatch=^$
Ah, thank you so much. Now the way it was used makes more sense. It was used to show/hide a pair of meters and the result was always wrong. So with the little bit of info you just gave me I can set things right. Thanks again.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Help with IfMatch=^$
Glad to help.