Regular expression was designed by the devil...
It is currently April 26th, 2024, 8:21 am
Trying to show / hide base on content
-
- Developer
- Posts: 22630
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Trying to show / hide base on content
-
- Developer
- Posts: 22630
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Trying to show / hide base on content
To be honest, the Registry measure should not return a string of "0" if the key is not found. It should return an empty string. "0" can be and sometimes is a perfectly valid value for a registry key, and this does not allow you to distinguish between "failure" and "Yeah, it's just an actual zero". Oh well... Bad, bad design back in the day. Forgivable I guess, since IfMatch didn't exist then, but still a bad design.