From 54a24a61aadc9e33c3666a5d48ad1ac60e4178e6 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 26 Dec 2018 14:26:01 +0100 Subject: Document that it's not possible to hook builtins via regexp Also bump a bit the coverage --- doc/source/config.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/source') diff --git a/doc/source/config.rst b/doc/source/config.rst index 104515b..4159abe 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst @@ -334,8 +334,8 @@ Limitations It's currently not possible to: - Hook every `language construct `__, - because each of them requires a specific implementation. -- Hook on the return value of user-defined functions + because each of them requires a specific implementation. It's also not + possible to hook them via regular expression. - Use extra-convoluted rules for matching, like ``${$A}$$B->${'}[1]``, because if you're writing things like this, odds are that you're doing something wrong anyway. - Hooks on ``echo`` and on ``print`` are equivalent: there is no way to hook one -- cgit v1.3