Skip to content

Commit b2af0fa

Browse files
committed
Remove more ? from ?! lookaround assertions
1 parent f976bcc commit b2af0fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Language/regexes.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,12 +983,12 @@ However, if you want to search for a pattern which is B<not> immediately
983983
preceded by some pattern, then you need to use a negative lookbehind
984984
assertion, this has the form:
985985
986-
<?!after pattern>
986+
<!after pattern>
987987
988988
Hence all occurrences of C<bar> which I<do not> have C<foo> before them
989989
would be matched by
990990
991-
rx{ <?!after foo> bar }
991+
rx{ <!after foo> bar }
992992
993993
=head1 Best practices and gotchas
994994

0 commit comments

Comments
 (0)