Bug 21923

Summary: regex or regexp
Product: Sisyphus Reporter: barabashka <barabashka>
Component: libshellAssignee: Alexey Gladkov <legion>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: legion
Version: unstable   
Hardware: all   
OS: Linux   

Description barabashka 2009-10-12 17:54:41 MSD
shell-ip-address
unbound-variable regexp

# Regexp for single byte
readonly regex_byte='([01]?[0-9][0-9]?|2[0-4][0-9]|25[0-5])'

# Regexp for 4-byte address
readonly regex_ipaddr="$regexp_byte(\.$regexp_byte){3}"
                             ^              ^
Comment 1 Alexey Gladkov 2009-10-12 17:59:47 MSD
Спасибо! сегодня исправлю.