Change 14319 by jhi@alpha on 2002/01/17 22:43:12

        Subject: [PATCH pod/perltodo.pod] One TODO is TODONE
        From: chromatic <[EMAIL PROTECTED]>
        Date: Thu, 17 Jan 2002 13:04:22 -0700
        Message-ID: <[EMAIL PROTECTED]>

Affected files ...

.... //depot/perl/pod/perltodo.pod#48 edit

Differences ...

==== //depot/perl/pod/perltodo.pod#48 (text) ====
Index: perl/pod/perltodo.pod
--- perl/pod/perltodo.pod.~1~   Thu Jan 17 16:00:06 2002
+++ perl/pod/perltodo.pod       Thu Jan 17 16:00:06 2002
@@ -571,16 +571,6 @@
 pass the process ID. It would be good to do this with the Perl debugger
 on a running Perl program, although I'm not sure how it would be done.
 
-=head2 Alternative RE syntax module
-
-    use Regex::Newbie;
-    $re = Regex::Newbie->new
-                       ->start
-                       ->match("foo")
-                       ->repeat(Regex::Newbie->class("char"),3)
-                       ->end;
-    /$re/;
-
 =head2 GUI::Native
 
 A non-core module that would use "native" GUI to create graphical
@@ -623,6 +613,23 @@
 These are things which have been on the todo lists in previous releases
 but have recently been completed.
 
+=head2 Alternative RE syntax module
+
+The C<Regexp::English> module, available from the CPAN, provides this:
+
+    my $re = Regexp::English
+    -> start_of_line
+    -> literal('Flippers')
+    -> literal(':')
+    -> optional
+        -> whitespace_char
+    -> end
+    -> remember
+        -> multiple
+            -> digit;
+
+    /$re/;
+
 =head2 Safe signal handling
 
 A new signal model went into 5.7.1 without much fanfare. Operations and
End of Patch.

Reply via email to