Skip to content

Commit 53b5986

Browse files
committed
whitespace
1 parent ebc0276 commit 53b5986

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
@@ -861,7 +861,7 @@ context. For example, you might want to substitute only numbers
861861
that are followed by a unit (like I<kg>), but not other numbers:
862862
863863
my @units = <kg m km mm s h>;
864-
$_ = "Please buy 2 packs of sugar, 1 kg each";
864+
$_ = "Please buy 2 packs of sugar, 1 kg each";
865865
s:g[\d+ <?before \s* @units>] = 5 * $/;
866866
say $_; # OUTPUT: Please buy 2 packs of sugar, 5 kg each
867867

0 commit comments

Comments
 (0)