Skip to content

Commit 56f3241

Browse files
committed
Use \c: point of the example
1 parent 97faa4d commit 56f3241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/regexes.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ will generally not match individually. For example if you compose
300300
C<"ü"> as C<"u\x[0308]">, that works just fine, but matching may surprise
301301
you:
302302
303-
say "u\x[0308]" ~~ /u/; # OUTPUT: «Nil»
303+
say "u\x[0308]" ~~ /\c[LATIN SMALL LETTER U]/; # OUTPUT: «Nil»
304304
305305
To match the unmodified character, you can use the
306306
L<C<:ignoremark>|#regex adverb,:ignoremark> adverb.

0 commit comments

Comments
 (0)