Regex teaser

Yitzchak Scott-Thoennes sthoenna at
Wed Dec 4 15:55:10 GMT 2013

On Tue, Dec 3, 2013 at 11:55 PM, Paul Makepeace <paulm at> wrote:
> Construct an elegant* regex (in perl!) to ensure the end of the string
> contains "string":
> is(fqdn('foo'), '')
> is(fqdn(''), '')

Maybe I'm just slow, but I see no relation between that task and that
code?  Did you misstate something?


Though I'm not sure what you mean by "contains".

More information about the mailing list