<
^
>
P
N
|<
>|
^
_
>
<
---
|
~
.
..
Help
Subject:
Re: bbbbbbbbbbbbbbbbb
From:
Sylvain Joyeux
<sylvain.joyeux polytechnique.org>
Date: Thu, 20 Dec 2007 02:22:29 +0900
References:
284138
284144
284160
284199
In-reply-to:
284199
>
/bb/ or /^bb$/ or /\Abb\z/ ?
def answer_hamlet(life) life =~ /^(b{2}|[^b]{2})$/ $1 end -- Sylvain