YAPE::Regex::Explain - search.cpan.org
Explication avec des mots d'expression régulière :
Par exemple :
The regular expression:
(?-imsx:/(?!1111)\d{4}/)
matches as follows:
NODE EXPLANATION
----------------------------------------------------------------------
(?-imsx: group, but do not capture (case-sensitive)
(with ^ and $ matching normally) (with . not
matching \n) (matching whitespace and #
normally):
----------------------------------------------------------------------
/ '/'
----------------------------------------------------------------------
(?! look ahead to see if there is not:
----------------------------------------------------------------------
1111 '1111'
----------------------------------------------------------------------
) end of look-ahead
----------------------------------------------------------------------
\d{4} digits (0-9) (4 times)
----------------------------------------------------------------------
/ '/'
----------------------------------------------------------------------
) end of grouping
----------------------------------------------------------------------
Wed 31 Jul 2013 09:28:43 AM UTC - permalink -
-
http://search.cpan.org/~gsullivan/YAPE-Regex-Explain-4.01/Explain.pm