Forum Discussion
Deb_Allen_18
May 18, 2005Historic F5 Account
matchclass syntax / allowed operators
is this valid syntax for matchclass?
[matchclass $inbound_uri starts_with $::uri_redirects]
I'm trying to redirect based on a variable length leading directory in the URI string.
...
unRuleY_95363
May 20, 2005Historic F5 Account
The main difference for the equality operators is between "==" and "eq". "equals" is merely an F5 synonym for "eq". The difference is that Tcl treats "eq" as a string comparison only. So, the operands of the operator are always converted to string form and then compared. The "==" operator is slightly different in that the operands are first tested to see if they are of the same type and compared in their native type (for example, two integers would be compared as integers instead of converted to strings and then compared). For the most part, the result would likely be the same using either operator, however using the "eq" operator on non-string operands could have strange side effect and/or an impact on performance.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
