Skip to content

Commit 3cdbea7

Browse files
committed
Fix spelling
1 parent 8fd8c8d commit 3cdbea7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

doc/Language/regexes.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ When an array variable is interpolated into a regex, the regex engine handles
12911291
it like a C<|> alternative of the regex elements. The interpolation rules for
12921292
individual elements are the same as for scalars, so strings and numbers match
12931293
literally, and L</type/Regex|Regex> objects match as regexes. Just as with
1294-
oridnary C<|> interpolation, the longest match succeeds:
1294+
ordinary C<|> interpolation, the longest match succeeds:
12951295
12961296
my @a = '2', 23, rx/a.+/;
12971297
say ('b235' ~~ / b @a /).Str; # OUTPUT: «b23»

doc/Language/traps.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ Enum objects as keys (and C<say %h{Dog}> attempts to get a value using
552552
the Enum object to perform the lookup). However, that's not how pair
553553
notation works.
554554
555-
For exapmple, in C«Dog => 42» the key will be a C<Str>. That is, it
555+
For example, in C«Dog => 42» the key will be a C<Str>. That is, it
556556
doesn't matter if there is a constant, or an enumeration with the
557557
same name. The pair notation will always use the left-hand side as a
558558
string literal, as long as it looks like an identifier.

xt/words.pws

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ boolified
118118
boolifies
119119
boolify
120120
bools
121+
boooh
121122
brack
122123
buf
123124
buildall

0 commit comments

Comments
 (0)