abc aaaaaaaaaaabcccccccc quit ^([0-9]+)(\-| |$)(.*)$ 100- this is a line of ftp response which contains a message string quit quit # Copyright 2007 John Maddock. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt).