Subject: Re: how to match any character with ruby regexp?
From: Nanyang Zhan <sxain hotmail.com>
Date: Mon, 28 Apr 2008 02:20:02 +0900
References: 299796299799
In-reply-to: 299799
> irb(main):005:0> "a\nb".match(/.+/m).to_a
> => ["a\nb"]
>
Thank you for your help.
--
Posted via http://www.ruby-forum.com/.