[rancid] Re: Understand some regex used in rancid

john heasley heas at shrubbery.net
Thu Nov 13 06:53:10 UTC 2008


Wed, Nov 12, 2008 at 05:36:50PM -0700, Lance Vermilion:
> I don't understand what this is meaning. i have searched around but
> still can't figure out what the # sign is used for in perl regex like
> it is being used here.
> 
> while (/#\s*($cmds_regexp)\s*$/) {

the # is a #, the end of the enabled user's prompt.

> 
> If I can figure this out then I will have the IPS module working for
> rancid using the default clogin/rancid with only minor tweaks.
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list