--hYooF8G/hrfVAmum
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, Dec 16, 2000 at 12:28:53AM +0900, David Alan Black wrote:
> irb(main):003:0> "abc" /(.)/g
> SyntaxError: compile error
> (irb):3: parse error
> (irb):3:in `irb_binding'
> 
> I've never seen the /g modifier mentioned anywhere (I think -- ?).

Isn't String#scan what you want?

irb(main):004:0> "abc".scan(/(.)/)
[["a"], ["b"], ["c"]]

?

-- 
Josh Huber
1024D/6B21489A 61F0 6138 BE7B FEBF A223  E9D1 BFE1 2065 6B21 489A

--hYooF8G/hrfVAmum
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjo6OzcACgkQv+EgZWshSJofRwCffMS+/3+0vUi75+zNS0f/Rt+f
XV4AmwbnAcTZ2E7GQcvKpdCB+T4DwsC5
X
-----END PGP SIGNATURE-----

--hYooF8G/hrfVAmum--