Forum Discussion
Aurel
Cirrus
Dec 02, 2013Irule syntax issue : missing a script
Hi,
I'm having the error message on line 18 "missing a script".
What i'm trying to do with this iRule is to append one or two "0" when the $fract value contains only two or one digit, whereas most of...
Thomas_Gobet
Nimbostratus
Dec 02, 2013I mean with you code :
if {[$fract matches_regex "\d\d"]} {
append fract 0
} elseif {$fract matches_regex {/\d} } {
append fract 00
}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