]> ruderich.org/simon Gitweb - fcscs/fcscs.git/log
fcscs/fcscs.git
8 years agocleanup handler selection
Simon Ruderich [Sun, 24 Jan 2016 00:06:27 +0000 (01:06 +0100)]
cleanup handler selection

8 years agosupport $match->{handler} to overwrite handler for certain matches
Simon Ruderich [Sat, 23 Jan 2016 23:42:18 +0000 (00:42 +0100)]
support $match->{handler} to overwrite handler for certain matches

E.g. a different handler for YouTube URLs to automatically download the
video.

8 years agohandler_paste: print URL in debug output
Simon Ruderich [Sat, 23 Jan 2016 23:41:55 +0000 (00:41 +0100)]
handler_paste: print URL in  debug output

8 years agoreplace $match->{url} with $match->{value} which is used in handlers
Simon Ruderich [Sat, 23 Jan 2016 23:40:04 +0000 (00:40 +0100)]
replace $match->{url} with $match->{value} which is used in handlers

$match->{string} is the matched string from the input. $match->{value}
is used in handlers and defaults to $match->{string} but may be
overwritten.

8 years agomake handlers configurable via $config{handler}{..}
Simon Ruderich [Sat, 23 Jan 2016 23:04:02 +0000 (00:04 +0100)]
make handlers configurable via $config{handler}{..}

8 years agoadd missing match group in regex config example
Simon Ruderich [Sat, 23 Jan 2016 20:26:49 +0000 (21:26 +0100)]
add missing match group in regex config example

8 years agofix match drawing if match group doesn't start at the beginning
Simon Ruderich [Sat, 23 Jan 2016 20:18:03 +0000 (21:18 +0100)]
fix match drawing if match group doesn't start at the beginning

Also display an error message if a regex doesn't contain a match group.

8 years agorun_in_background: fix execution when debug mode is enabled
Simon Ruderich [Sat, 23 Jan 2016 16:46:43 +0000 (17:46 +0100)]
run_in_background: fix execution when debug mode is enabled

8 years agoinitial commit
Simon Ruderich [Sat, 23 Jan 2016 16:14:36 +0000 (17:14 +0100)]
initial commit