| Ticket UUID: | 858218 | |||
| Title: | errors thrown with no explanation | |||
| Type: | Bug | Version: | None | |
| Submitter: | vincentdarley | Created on: | 2003-12-11 12:07:28 | |
| Subsystem: | ftp | Assigned To: | andreas_kupries | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2026-11-21 08:42:16 | |
| Resolution: | Fixed | Closed By: | serhiy.storchaka | |
| Closed on: | 2026-11-21 08:42:16 | |||
| Description: |
This new code:
# get return code, check for multi-line text
if {[regexp -- "^-?(^[0-9]+)( |-)?(.*)$"
$bufline all rc multi_line msgtext]} {
set errmsg "C: Internal Error @ line 255.
Regex pattern not matching the input "$bufline""
if {$VERBOSE} {
DisplayMsg $s $errmsg control
}
} else {
set buffer $bufline
# multi-line format detected ("-"), get all the lines
is throwing errors on both ftp servers I commonly use
(ftp.santafe.edu and ftp.ucsd.edu). Can the error
message be made more information ('regex pattern didn't
match' isn't very helpful -- what is it expecting? how
did the observed string differ from that?).
| |||
| User Comments: |
serhiy.storchaka added on 2026-11-21 08:42:16:
The quoted code had the test inverted, so every well-formed reply was reported as "Regex pattern not matching", and the reply was then lost. This was fixed ten days before this report in [9bd4ab9e64], first released in tcllib 1.6. Verified: e875ac9fd2 fails against a local ftpd, trunk works. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki