mroutis_

Activity Graph

Page 1 of 1

2018-11-15

[00:27:34] mroutis_: is there a better way to write this? >>> 'A..A..'.gsub(/A(\.+)A/) { |x| x.gsub('.', 'A') }
[00:28:56] mroutis_: what I want is to convert the dots between two letters into the letter that wraps them, just if the letter is the same
[00:29:49] mroutis_: Scriptonaut: because I couldn't find the regex expression to do it on a single gsub :c
[00:30:21] mroutis_: also, another non-regex solution would be awesome
[00:31:40] mroutis_: thanks, Radar, I thought it was >>>
[00:42:24] mroutis_: Scriptonaut: any letter is fine!
[00:45:08] mroutis_: Scriptonaut: you can use $1 instead of `Regexp.last_match`
[00:50:49] mroutis_: al2o3-cr: I tried, but it doesn't work as expected ($1, $2, you know)
[00:53:42] mroutis_: any letter ^
[01:37:18] mroutis_: Read error: Connection reset by peer

2018-11-14

[23:37:44] mroutis_: has joined #ruby

2018-11-09

[04:25:59] mroutis_: has joined #ruby
[05:20:33] mroutis_: Remote host closed the connection

2018-11-08

[02:26:23] mroutis_: has joined #ruby
[03:46:01] mroutis_: Read error: Connection reset by peer
[22:19:47] mroutis_: has joined #ruby
[23:21:47] mroutis_: Ping timeout: 268 seconds

2018-09-08

[00:20:51] mroutis_: Read error: Connection reset by peer

2018-09-07

[23:40:44] mroutis_: has joined #ruby

2018-09-05

[01:36:21] mroutis_: Ping timeout: 252 seconds

2018-09-04

[21:23:13] mroutis_: has joined #ruby-offtopic
[21:23:13] mroutis_: has joined #ruby

2018-08-29

[16:23:54] mroutis_: has joined #ruby
[17:06:16] mroutis_: Ping timeout: 246 seconds

2018-05-27

[00:01:51] mroutis_: Read error: Connection reset by peer
[16:16:51] mroutis_: has joined #RubyOnRails
[16:16:51] mroutis_: has joined #ruby
[16:30:34] mroutis_: Read error: Connection reset by peer

2018-05-26

[19:40:30] mroutis_: has joined #RubyOnRails
[19:40:30] mroutis_: has joined #ruby
[20:22:33] mroutis_: Ping timeout: 264 seconds
[22:33:49] mroutis_: has joined #RubyOnRails
[22:33:49] mroutis_: has joined #ruby

2018-05-16

[04:20:26] mroutis_: has joined #RubyOnRails
[04:20:26] mroutis_: has joined #ruby
[05:00:48] mroutis_: Read error: Connection reset by peer

2018-05-15

[16:31:12] mroutis_: has joined #RubyOnRails
[16:31:12] mroutis_: has joined #ruby
[21:16:35] mroutis_: Read error: Connection reset by peer

2018-05-02

[01:57:32] mroutis_: has joined #ruby
[01:57:33] mroutis_: has joined #RubyOnRails
[03:34:33] mroutis_: Ping timeout: 264 seconds

2018-04-30

[19:12:23] mroutis_: has joined #ruby
[19:12:24] mroutis_: has joined #RubyOnRails
[21:50:02] mroutis_: Read error: Connection reset by peer

2018-04-25

[03:26:55] mroutis_: has joined #RubyOnRails
[03:26:55] mroutis_: has joined #ruby
[04:26:32] mroutis_: Read error: Connection reset by peer

2018-04-24

[05:41:19] mroutis_: has joined #RubyOnRails
[05:41:19] mroutis_: has joined #ruby
[06:00:43] mroutis_: Remote host closed the connection

2018-04-23

[17:01:47] mroutis_: has joined #RubyOnRails
[17:01:47] mroutis_: has joined #ruby
[18:10:24] mroutis_: Read error: Connection reset by peer

2018-04-11

[17:19:38] mroutis_: has joined #ruby
[18:28:14] mroutis_: Read error: Connection reset by peer

2018-04-09

[00:21:09] mroutis_: has joined #ruby
[01:00:41] mroutis_: Read error: Connection reset by peer
[02:20:10] mroutis_: has joined #ruby
[03:28:43] mroutis_: Read error: Connection reset by peer

2018-03-25

[02:05:09] mroutis_: has joined #RubyOnRails
[02:44:30] mroutis_: Read error: Connection reset by peer
[05:04:29] mroutis_: has joined #RubyOnRails
[05:34:02] mroutis_: Remote host closed the connection

2018-03-24

[07:05:31] mroutis_: has joined #RubyOnRails
[07:16:05] mroutis_: Ping timeout: 240 seconds
[14:22:26] mroutis_: has joined #RubyOnRails
[17:37:26] mroutis_: Read error: Connection reset by peer

2018-03-22

[05:02:35] mroutis_: has joined #RubyOnRails
[05:42:26] mroutis_: Read error: Connection reset by peer

2018-03-16

[05:38:24] mroutis_: has joined #RubyOnRails
[06:28:40] mroutis_: Read error: Connection reset by peer

2018-03-15

[17:18:44] mroutis_: has joined #RubyOnRails
[18:08:09] mroutis_: Read error: Connection reset by peer