Skip to content

Commit 412ee07

Browse files
committed
Fix grammars.pod unescaped quote mark in string
Escape single-quote in string in sample code
1 parent 45a260a commit 412ee07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Language/grammars.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ usually do what you want, but isn't appropriate for all cases:
5050
=begin code :allow<B>
5151
my regex works-but-slow { .+ q }
5252
my token fails-but-fast { .+ q }
53-
my $s = 'Tokens won't backtrack, which makes them fail quicker!';
53+
my $s = 'Tokens won\'t backtrack, which makes them fail quicker!';
5454
say so $s ~~ &works-but-slow; # True
5555
say so $s ~~ &fails-but-fast; # False, the entire string get taken by the .+
5656
=end code

0 commit comments

Comments
 (0)