dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.3.1
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
krothgap has joined #cinch
ConcernedHobbit has quit [Ping timeout: 240 seconds]
ConcernedHobbit has joined #cinch
krothgap has quit [Ping timeout: 240 seconds]
<
txdv>
Does cinch map named regexp groups to function parameter names?
<
txdv>
here is an explanation of what im looking for
<
dominikh>
No, positional only
<
txdv>
what do you think about this idea?
<
txdv>
if you like it i will implement it and create a pr
<
dominikh>
I'll comment on it later; tendency is towards "no" though, for technical reasons. but I need to work on something else now first
<
txdv>
cant be that difficult
<
txdv>
well just write a comment when you have time, I will look at the code beneath in the evening myself and start with a patch
<
txdv>
i dont think this is should be too difficult
<
dominikh>
there's issues both with the implementation as well as with the new API surface and interactions with the existing APIs
<
txdv>
cinch will have a new api?
<
dominikh>
you're suggesting the introduction of a new API: named capture groups
<
txdv>
well this mode could be activated with a special parameter, for example, match / /, type: :named, method: :method_name
<
txdv>
if it is valid ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
irsol has quit [Ping timeout: 250 seconds]
irsol has joined #cinch
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krothgap has joined #cinch