X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Plugin.pod;h=1438f64dde0b50c647ac5e7e54f085b0148a19e5;hb=dd88e700bfcc92fc03db9d994ec747ca1c14ade7;hp=d4bb1a246bed672d35878a3dc84e4dd310b9d49d;hpb=2dd7bc5f80da4fe2220e28de1102641c239d084c;p=perl%2Fmodules%2Fre-engine-Plugin.git diff --git a/Plugin.pod b/Plugin.pod index d4bb1a2..1438f64 100644 --- a/Plugin.pod +++ b/Plugin.pod @@ -2,6 +2,11 @@ re::engine::Plugin - API to write custom regex engines +=head1 NOTICE + +This is a B that requires a patch to blead to work, +the patch can be found in F in this distribution. + =head1 DESCRIPTION As of perl 5.9.5 it's possible to lexically replace perl's built-in @@ -149,7 +154,7 @@ hashrefs, objects, etc. =head2 mod my %mod = $rx->mod; - say "has /ix" if $mod{i} and $mod{x}; + say "has /ix" if %mod ~~ 'i' and %mod ~~ 'x'; A key-value pair list of the modifiers the pattern was compiled with. The keys will zero or more of C and the values will be true @@ -224,12 +229,10 @@ name an example). =head2 named_captures -B: implement +B: document -perl internals still needs to be changed to support this but when it's -done it'll allow the binding of C<%+> and C<%-> and support the -L methods FETCH, STORE, DELETE, CLEAR, EXISTS, FIRSTKEY, -NEXTKEY and SCALAR. +This is implemented but not documented, see F for usage +examples. =head1 Tainting @@ -300,6 +303,11 @@ I =item * +Export constants defined as macros in core relevant to our interests, +e.g. PMf_ stuff and things needed by extflags. + +=item * + Engines implemented with this module don't support C and C, the appropriate parts of the C struct need to be wrapped and documented.