From 259138e397d1f0bd33f1552ed5c3bc5589267e87 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sat, 20 Jun 1998 23:59:23 +0000 Subject: [PATCH] enhance perlre.pod to say C<)> can't appear in a (?#...) comment p4raw-id: //depot/perl@1166 --- pod/perlre.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pod/perlre.pod b/pod/perlre.pod index 927d088..89bfb8d 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -270,7 +270,9 @@ function of the extension. Several extensions are already supported: =item C<(?#text)> A comment. The text is ignored. If the C switch is used to enable -whitespace formatting, a simple C<#> will suffice. +whitespace formatting, a simple C<#> will suffice. Note that perl closes +the comment as soon as it sees a C<)>, so there is no way to put a literal +C<)> in the comment. =item C<(?:pattern)> -- 2.7.4