Forum Discussion
Steve_Brockman_
Nimbostratus
Oct 25, 2005config load failure when iRule contains regsub
Has anyone seen this or know of a work-around?
When we have the following line in our iRule, the "b load" (or bigstart restart) command fails:
regsub -all {\n} $certStr {} certStr
Something with the brackets causes a syntax error. It also seems to occur when there is more than one occurance this regsub command in the iRule. Just one occurance loads fine.
Thanks!
Steve
- unRuleY_95363Historic F5 AccountYes, we know about this bug. I believe it has been fixed, but the work around is easy. Simply make sure there is always at least a space between open and close curly braces.
eg: { } not: {}
- Steve_Brockman_
Nimbostratus
Hi unRuleY, just wanted to clarify that the { } solution will not work in my case as this will insert whitespace that I am trying to remove.
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